Nanako Shiraishi <nanako3@xxxxxxxxxxxxxx> writes: > This introduces a branch-stack mechanism to record branch switching in $GIT_DIR/BRANCH_STACK file. If you are switching to another branch and plan to come back to the original branch soon, add '--push' option to record your current branch. > When you want to come back, 'git checkout --pop' will switch back to the branch recorded at the top of the stack, while popping it. > > Signed-off-by: しらいしななこ <nanako3@xxxxxxxxxxxxxx> Hmph, is this in response to my "I am not sympathtic to 'I have to remember'"? Funnily enough, I often find myself almost typing pushd/popd when switching branches, so in that sense "git checkout" to switch branches does have some similarity to the notion of pushing and popping. Matthieu, is this something that forgetful people would find useful? Having said that, I think there are other push/pop people wanted from you. Hint, hint... - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html