Created
January 12, 2020 04:44
-
-
Save lpnam0201/736799ef7ab319613fbbbdabc6ce5dca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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