blob: 01bccce0ba94293995f866166e0d8ee750afab2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
% git
# checkout branch
git checkout <branch> && git status
$ branch: git branch -a --format='%(refname)' \
| cut -d' ' -f1 \
| sed -e 's#^refs/##' -e 's#^remotes/##' -e 's#^heads/##' \
| sort
|