2
Each time you finish a branch, whether it’s release, Feature or Hotfix, I have to follow a series of commands to publish the changes to my repository. For example: I’ll finish a Hotfix of name ht001 then I do:
git flow hotfix finish ht001
git checkout develop
git push
git checkout master
git push
git push origin ht001
Obviously you could run everything in one command using &&
This is all because Finish does everything locally When finishing this command runs locally publish my local changes master Merger tag ht001
I would like to give Finish, it already publish also in my repository the changes.
You have with or always will need to run all commands in conjunction with git flow.
OBS. I am not using graphic inteface for control and would not like to use.
+1, I use alias but did not know it was possible to pass a "variable" (in this case the name of Hotfix). I was only in doubt the meaning of
f()
– Barbetta
It’s a shell function statement, to be called straight ahead. So you can manipulate the positional parameters passed pro git using the numeric attribute variables.
– nunks