Advertisement
Guest User

Untitled

a guest
Dec 23rd, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. $ pwd
  2. /mycode
  3. # I am in master branch
  4. $ git branch mybranch
  5. $ git checkout mybranch
  6. $ echo "bla" >> test.txt # file modified on mybranch
  7. $ git checkout master
  8. $ # test.txt on filesystem contains "bla" changes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement