- #!/bin/bash
- set -e
- mkdir git && cd git && git init
- echo foobar > initial;
- git add .
- git commit -m 'initial commit'
- git branch foobar
- git checkout -b feature-x
- for((i=1;i<=5;i+=1)); do echo foobar > $i && git add $i && git commit -m "$i added"; done
SHARE
TWEET
klj613
a guest
Oct 6th, 2012
4
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

