Re: git checkout no longer warning about uncommitted/untracked files!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]