nvie / gitflow

Git extensions to provide high-level repository operations for Vincent Driessen's branching model.
http://nvie.com/posts/a-successful-git-branching-model/
Other
26.63k stars 2.66k forks source link

How to use show_commands #389

Open justin808 opened 9 years ago

justin808 commented 9 years ago

@jeromebaum Per this commit:

https://github.com/nvie/gitflow/commit/5bca8d9358f5b08af40ac32f289bb14b18965cec

+  # allow user to request git action logging
+  DEFINE_boolean show_commands false 'show actions taken (git commands)' g

How does this feature work? Should this go to the README?

jeromebaum commented 9 years ago

If you set this flag to true, gitflow will print out each time it calls git. This way you can trace what steps gitflow is taking, for example to troubleshoot issues.

jeromebaum commented 9 years ago

I am not sure about updating the README, I thought the flag was self-explanatory – but clearly not. :)

justin808 commented 9 years ago

@jeromebaum Please give an example of using this option.

justin808 commented 9 years ago

I just wrote a few posts about git-flow:

http://forum.railsonmaui.com/t/zsh-with-git-flow-and-cleanup-of-branches/135/5?u=justin

http://forum.railsonmaui.com/t/git-flow-avh-rather-than-git-flow/168

diegovdev commented 9 years ago

this example worked for me: git flow feature start FEATURENAME --showcommands