Guest User

Untitled

a guest
Oct 23rd, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.37 KB | None | 0 0
  1. git init
  2.  
  3. echo base content > file
  4.  
  5. git add file
  6. git commit -m"Initial"
  7. git branch other
  8.  
  9. echo "Big Bad Bug is here" >> file
  10. git commit -am"Add bug"
  11.  
  12. echo base content > file
  13. git commit -am"Whew, removed big bad bug"
  14.  
  15. git checkout other
  16. echo "Big Bad Bug is here" >> file
  17. git commit -am"Independently add bug"
  18.  
  19. git merge master
  20. grep Bug file && echo Git added bug
Add Comment
Please, Sign In to add comment