Git: Tagging commits after the fact 27 Sep 2011
If you ever forget to tag a series of commits with the story id or issue # you can use git filter-branch to do it for you.

Liquid error: No such file or directory - posix_spawnp

The above command tags the commits in my current topic branch (that aren’t in master) with the story id. This will change the history of the branch so if it’s been shared or merged think twice before doing this. Note that the escaped hash is intentional as the bash shell will treat everything following an unescaped hash as a comment otherwise.

blog comments powered by Disqus