daily pastebin goal
34%
SHARE
TWEET

klj613

a guest Oct 6th, 2012 4 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. set -e
  3.  
  4. mkdir git && cd git && git init
  5.  
  6. echo foobar > initial;
  7. git add .
  8. git commit -m 'initial commit'
  9.  
  10. git branch foobar
  11.  
  12. git checkout -b feature-x
  13.  
  14. for((i=1;i<=5;i+=1)); do echo foobar > $i && git add $i && git commit -m "$i added"; done
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top