On Mon, 14 Sep 2015 09:45:26 -0700 (PDT)
Najgit <christopher.naj...@gmail.com> wrote:

> If (locally) in gitbash I 
>  create a new branch e.g. 'dev' 
>    then create a new file: eg touch style.css
>     then git add, git commit -m "..."
> and then switch back to master and type ls
> style.css will be listed there (in the master directory)
> Is this correct?

No.  Are you sure you have really committed the addition of that file?

Because the only two possibilities for that file to be in the work tree
when you checkout the "master" branch are:
* The file is also present in the tip commit of that branch;
* The file is currently untracked.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to