Commit graph

13 commits

Author SHA1 Message Date
Mark Pitman c064956f85 Use "$@" instead of $@ 2017-07-11 23:37:16 -07:00
Mark Pitman a75411b029 Consolidate feature/bug/chore/refactor logic
Remove unneccesary code
2017-07-11 21:42:02 -07:00
Mark Pitman 61b2a2c703 Add ability to specify a remote
Use -r to push the new branch to origin
Use -r <remote_name> to push to <remote_name>

Will not auto push to origin if you do not use the argument
2017-07-09 01:57:46 -07:00
Mark Pitman be15db9cdf Fix Issue #186
Use `git create-branch` instead of `git checkout -b` in:
git-bug
git-chore
git-feature
git-refactor

Since `git-finish` uses `git-delete-branch` (which expects the branch to
have been pushed to origin) we should use `git-create-branch` to create
it.
2017-07-07 23:19:02 -07:00
spacewander a7f830b1e7 remove duplicate checkout 2015-09-08 16:08:50 +08:00
hemanth.hm 7b7913fab1 More portable she-bangs. 2014-11-30 17:47:26 +05:30
Balazs Nadasdi b9478d64b7 fix #180 and #232 feature|bug|refactor checkout
If branch creation in feature|bug|refactor returns a non-zero value
then simply try to switch to branch
2014-10-07 10:57:00 +02:00
Sasha Khamkov 3d8db9dbb9 Fix feature|refactor|bug testing argument for string lenght
93d92ae338 (diff-dde525a12e9f5e19)

Seems only works while $2 is quoted, e.g. "$2"

Closes #241
2014-07-24 10:28:51 +03:00
zeroDivisible 93d92ae338 changed the code for git bug|feature|refactor to only accept single argument when not finishing a bug|feature|refactor. This is an easy solution to avoid misspelings of the word 'finish' 2013-07-18 14:33:41 +01:00
Greg Allen a79c51c7ad removed unnecessary git checkout for bug, feature and refactor 2013-03-07 17:44:11 -08:00
David Baumgold 3e3b4c918c Send error messages to stderr instead of stdout 2012-01-25 11:52:08 -05:00
Tj Holowaychuk 9a6324eab8 delete branch after merge 2011-03-23 17:29:26 -07:00
Tj Holowaychuk 5578905323 Added git-bug 2011-03-23 16:00:05 -07:00