Hi All I find that if I do the following: stash branch br, switch back to master, modify master, then switch back to branch br stash apply
gitk only shows branch x and does not show master. I was expect to be seeing a fork-shaped graph showing both Here's what I did char...@qcore:~/junk$ git init xx Initialized empty Git repository in /home/charles/junk/xx/.git/ char...@qcore:~/junk$ cd xx char...@qcore:~/junk/xx$ git branch char...@qcore:~/junk/xx$ git branch -a char...@qcore:~/junk/xx$ ls >a char...@qcore:~/junk/xx$ git add a char...@qcore:~/junk/xx$ git commit -m "add a" [master (root-commit) 6e4d94d] add a 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 a char...@qcore:~/junk/xx$ git branch * master char...@qcore:~/junk/xx$ git branch br char...@qcore:~/junk/xx$ git checkout br Switched to branch 'br' char...@qcore:~/junk/xx$ ls > b char...@qcore:~/junk/xx$ git add b char...@qcore:~/junk/xx$ ls > b char...@qcore:~/junk/xx$ git stash Saved working directory and index state WIP on br: 6e4d94d add a HEAD is now at 6e4d94d add a char...@qcore:~/junk/xx$ git checkout master Switched to branch 'master' char...@qcore:~/junk/xx$ ls -ial > a char...@qcore:~/junk/xx$ git add a char...@qcore:~/junk/xx$ git commit -m "change a" [master 879e2c3] change a 1 files changed, 5 insertions(+), 1 deletions(-) char...@qcore:~/junk/xx$ git checkout br Switched to branch 'br' char...@qcore:~/junk/xx$ git stash apply # On branch br # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # new file: b # char...@qcore:~/junk/xx$ gitk This shows branch br, but not master. Is that correct? Thanks Charles -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-us...@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.