[git-users] Switching between local Git branches

2013-07-04 Thread Dinesh Vijayakumar
Hello Git-users, I've a question regarding the use of multiple local branches. Let's say, I've created a branch b1 and made some changes like adding a new file to the branch b1 after checking it out. Then , I stage the file but not commit it. Now I find myself a need to create

Re: [git-users] Switching between local Git branches

2013-07-04 Thread William Seiti Mizuta
Hi Dinesh, all files that are listed in untracked files and changes not staged for commit when you use the command git status will follow you when you change branch. If you don't want it, you need to commit the changes before changing branch. William Seiti Mizuta @williammizuta Caelum | Ensino

Re: [git-users] Switching between local Git branches

2013-07-04 Thread Philip Oakley
- Original Message - From: Dinesh Vijayakumar To: git-users@googlegroups.com Sent: Thursday, July 04, 2013 5:45 PM Subject: [git-users] Switching between local Git branches Hello Git-users, I've a question regarding the use of multiple local branches. Let's say

Re: [git-users] Switching between local Git branches

2013-07-04 Thread Fish Kungfu
I'm new to Git, so I might be wrong, but it sounds like you might want to use stash in this instance. http://git-scm.com/book/en/Git-Tools-Stashing 2013/7/4 Dinesh Vijayakumar dinece...@gmail.com Hello Git-users, I've a question regarding the use of multiple local branches. Let's say,

Re: [git-users] Switching between local Git branches

2013-07-04 Thread Dinesh Vijayakumar
Thanks William, Fish, Philip for the quick response. On Thu, Jul 4, 2013 at 11:03 PM, Fish Kungfu fish.kun...@gmail.com wrote: I'm new to Git, so I might be wrong, but it sounds like you might want to use stash in this instance. http://git-scm.com/book/en/Git-Tools-Stashing 2013/7/4