Basic Git usage

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

 



Hi, Im new to Git, formerly an SVN user.
I have a master repo and have created a branch. I want to work in both at
the same time. I want to change some files in the master, then switch to the
branch ( git checkout branchname) , work on some files, then switch back to
the master. 
However git wont let me switch back to the master until I have added,
committed and pushed my files in the branch. 
Is this correct behavior for git? It would seem that I not be REQUIRED to
check in anything I was working on before switching between branch and
master, but that's the behavior I'm seeing via error messages.

thanks


-- 
View this message in context: http://git.661346.n2.nabble.com/Basic-Git-usage-tp5422412p5422412.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]