You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
366 B

#!/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