From 33d25b0e8c53692e99e6e687158e61f096fd6710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Wikkeling?= Date: Fri, 23 Nov 2018 19:21:12 +0100 Subject: [PATCH 1/4] added TODO to gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 4173287..39862b7 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ dist node_modules npm-debug.log reports +TODO + From 1458fe01286cfaf8977ca95affd344eee3134a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Wikkeling?= Date: Fri, 23 Nov 2018 19:21:39 +0100 Subject: [PATCH 2/4] removed windows info and moved it to TODO --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index 10b5aa3..fb35fa2 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,3 @@ - -Windows -git branch | findstr * -https://blogs.msdn.microsoft.com/zainnab/2007/07/08/grep-and-sed-with-powershell/ -https://www.howtogeek.com/261591/how-to-create-and-run-bash-shell-scripts-on-windows-10/ - - magik-commit ============ [![NPM version](https://badge.fury.io/js/magik-commit.svg)](http://badge.fury.io/js/magik-commit) From cbdb3fc414848d5d0669896dcb82011e6dcecf2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Wikkeling?= Date: Fri, 23 Nov 2018 19:22:10 +0100 Subject: [PATCH 3/4] added the year 2018 to copyright notice --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fb35fa2..c1b6c72 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ you would like to run this on an unsupported OS, please License ======= -Copyright (C) 2016 Bjørn Wikkeling (magikMaker) +Copyright (C) 2016 - 2018 Bjørn Wikkeling (magikMaker) Permission is hereby granted, free of charge, to any person obtaining a copy of From 7bb58a757c70aa46e30dda712941d08df0e4b0d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Wikkeling?= Date: Fri, 23 Nov 2018 19:25:53 +0100 Subject: [PATCH 4/4] removed superfluous space --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c1b6c72..db58fe4 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ magik-commit Automagically adds the Jira ticket ID to the commit message. A Jira issue ID has the following format `JIRA-42`. So it starts with capital letters followed -by a dash and then a number, for instance `XXX-42`. +by a dash and then a number, for instance `XXX-42`. This script parses the ticket ID from the Git branch name from the currently active branch. Examples of possible branch names, assuming ticket ID is `JIRA-42`.