Mostly adds slides about references and branches. Also tweaked python start code and re-aranged / tweaked some existing slides
13 lines
366 B
Bash
Executable file
13 lines
366 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
cd /tmp/demo
|
|
git switch master > /dev/null
|
|
git branch -D test > /dev/null
|
|
echo '$ git branch -v'
|
|
git -c color.ui=always branch -v
|
|
echo '$ git switch -c test'
|
|
git -c color.ui=always switch -c test
|
|
echo '$ git branch -v'
|
|
git -c color.ui=always branch -v
|
|
echo '$ git log --oneline --all'
|
|
git -c color.ui=always log --oneline --all --decorate=short
|