Adds references and branches slides
Mostly adds slides about references and branches. Also tweaked python start code and re-aranged / tweaked some existing slides
This commit is contained in:
parent
22ef5f581d
commit
c6c938207f
9 changed files with 272 additions and 31 deletions
13
shell/create-first-branch
Executable file
13
shell/create-first-branch
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue