[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
git branch/checkout problem
hello all!
can you please tell me what am I doing wrong here ?
I am at the master branch.
git checkout -b newbranch //making a new branch and moving to it
vi somefile //change some code. not commit yet because it is not finished
git checkout master //go back to master
git diff //it seems that all the changes from the newbrach have been
brought here too ! why is that ?
thank you
naziir
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ