Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
git init
echo 'a' > a.txt | git add a.txt | git commit -m 'A'
echo 'b' > b.txt | git add b.txt | git commit -m 'B'
echo 'c' > c.txt | git add c.txt | git commit -m 'C'
git branch feature
git checkout master
echo 'd' > d.txt | git add d.txt | git commit -m 'D'
echo 'e' > e.txt | git add e.txt | git commit -m 'E'
git checkout feature
echo 'f' > f.txt | git add f.txt | git commit -m 'F'
echo 'g' > g.txt | git add g.txt | git commit -m 'G'
echo 'h' > h.txt | git add h.txt | git commit -m 'H'
echo 'i' > i.txt | git add i.txt | git commit -m 'I'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment