On Thursday, March 21, 2013 8:48:59 PM UTC+1, Brian Jones wrote: > > In out of the box git, do commits remember the name of the branch that > created them? If so, what command can I use to see that information? My > assumption is that commits do not record branch names but I want > confirmation.
You are right. Commits do not remember the branch name they were committed on. (Unlike subversion and mercurial) You can sometimes guess it from the log. For example, when a commit is merged in the current branch, you sometimes see 'merged branch 'the_branch' into master'. Then you know the commit was done in branch 'the_branch'. > > Brian > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.