mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
12 lines
242 B
Text
12 lines
242 B
Text
echo ? > bikeshed_color
|
|
git add .
|
|
git commit -m "Initial commit"
|
|
|
|
echo green > bikeshed_color
|
|
git commit -a -m "My suggestion"
|
|
|
|
git switch -c alternative HEAD^
|
|
echo blue > bikeshed_color
|
|
git commit -a -m "This is way better"
|
|
|
|
git switch main
|