command | description |
---|---|
git ls-tree -r master | lists tracked files |
git log --oneline | display logs |
git config --global user.name "username" | set username globally |
git config --global email "username@domain.tld" | set email globally |
git branch testing | create new branch with name testing |
git checkout testing | checkout (change context) to testing branch |
git branch | display branches and context |