Re: git checkout no longer warning about uncommitted/untracked files!
- From
- funeeldy <marlene_cote@affirmednetworks.com>
- Date
- May 23, 2011, 21:05 UTC
- Message-ID
- <1306184704408-6396225.post@n2.nabble.com>
- In-Reply-To
- <1306171797211-6395441.post@n2.nabble.com>
This is with version 1.7.5.2 - it just keeps the files as modified when I checkout a different branch. The bad thing about this is that if I make a change on both branches, only the last change is kept, silently. Earlier today when I tried this new version, the first checkout failed with the error message I expected, but I cannot get it to show me that again.
private/marlene_cote/test/anroot/projects/kernel main_int $ git st # On branch main_int # Changed but not updated: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: Makefile # no changes added to commit (use "git add" and/or "git commit -a") /private/marlene_cote/test/anroot/projects/kernel main_int $ git checkout main M Makefile Branch main set up to track remote branch main from origin. Switched to a new branch 'main' /private/marlene_cote/test/anroot/projects/kernel main $ git checkout main_int M Makefile Switched to branch 'main_int' /private/marlene_cote/test/anroot/projects/kernel main_int $ git checkout main M Makefile Switched to branch 'main' v/private/marlene_cote/test/anroot/projects/kernel main $ vi Makefile /private/marlene_cote/test/anroot/projects/kernel main $ git checkout main_int M Makefile Switched to branch 'main_int'
-- View this message in context: http://git.661346.n2.nabble.com/git-checkout-no-longer-warning-about-uncommitted-untracked-files-tp6395441p6396225.html Sent from the git mailing list archive at Nabble.com.