git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git documentation on branching.
@ 2017-04-10  6:56 Samuel Åslund
  2017-04-10  7:13 ` Konstantin Khomoutov
  2017-04-10 10:21 ` Ævar Arnfjörð Bjarmason
  0 siblings, 2 replies; 6+ messages in thread
From: Samuel Åslund @ 2017-04-10  6:56 UTC (permalink / raw)
  To: git

Hi all.

I just started playing around with branching in git.
I have been using it more or less as Subversion until now.

One feature with "git branch xyz" and "git checkout xyz" that is rather 
obvious if you know them but bit me a little since I did not, is that 
uncommitted work in progress is not affected or saved when switching 
between branches. Thus I cleaned up the directory when working with the 
branch and now I'm trying to find a stash where I hopefully have a copy 
of those files.

Would it be possible to add something in the documentation to warn 
others that uncommitted work is not saved or affected by branching?
The first two hits on my google search was very informative about 
branching but I did not see that specific nugget of information (I might 
have been careless reading, but if I did not see it others will probably 
also miss it).

Git - git-branch Documentation
https://git-scm.com/docs/git-branch

Git - Branches in a Nutshell
https://git-scm.com/book/.../Git-Branching-Branches-in-a-Nutsh...

This is my first try to contribute to the Git community, I hope it will 
be useful to somebody.

Regards,
//Samuel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-11  5:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-10  6:56 Git documentation on branching Samuel Åslund
2017-04-10  7:13 ` Konstantin Khomoutov
     [not found]   ` <a967439f-117e-1f09-6f40-7f62bc6cbae1@update.uu.se>
2017-04-10 17:13     ` Konstantin Khomoutov
2017-04-10 10:21 ` Ævar Arnfjörð Bjarmason
2017-04-10 10:45   ` Samuel Åslund
2017-04-10 10:59     ` Ævar Arnfjörð Bjarmason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).