Re: Data Integrity & un-Commited Branches

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

 



On 9/14/07, Brian Scott Dobrovodsky <brian@xxxxxxxxxxx> wrote:
> Switch to master and edit file
> !!! The file was modified in demo, git should not allow this switch
> without commiting!
> $ git checkout master; echo "from master" >> test; cat test

Why not? It's pretty handy, it is similar to what other SCMs do (cvs,
svn, tla, hg), and git tells you that it is moving some uncommitted
changes to the new branch. (If it doesn't tell you, then _that_ is a
problem).

cheers,


martin
-
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]

  Powered by Linux