Git: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<source lang="bash"> | <source lang="bash"> | ||
# See local and remote branches | # See local and remote branches | ||
Revision as of 03:40, 11 March 2019
# 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
git config --global core.editor "vim"
git config --global user.name "name"
git config --global user.email "name@mydomain.com"
git config --local user.name "name"
git config --local user.email "name@mydomain.com"