On Aug 13, 12:00 am, Tekkub <[email protected]> wrote:
> Uncommitted files are always are risk for being overwritten on a checkout
> (though I believe git will complain about them and not check out).  If you
> don't want git touching the files, you should also add them to the
> .gitignore file after you untrack them.  It's usually not a good idea to
> ignore files in one branch, and track them in another.

Git doesn't warn, by the way; instead, it just removes the file if I
checkout a branch where the file is not tracked (master), from one
where it's tracked (foo).

One option that I see is to merge foo to master, so that files that
are tracked on foo, but are untracked on master, become tracked on the
latter.

Thanks
:J
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to