Git
Jump to navigation
Jump to search
Cloned a forked repo.
Initialize a new repo.
Optimize for myself.
git config --global core.editor "vim"
Others
# See local and remote branches
git branch -v -a
master c313bf9 ...
remotes/origin/static-files-2 be32085 ...
remotes/origin/static-files-3 e9021d8 ...
...
# Checkout remote branch.
git checkout -b static-files-3 remotes/origin/static-files-3