View .txt
git config --global user.name "username" | |
git config --global user.email "email" | |
git log #shows all commits for current repo | |
git ls-files #shows all file that git tracks | |
git commit -am #adds files to staging and commits with message | |
git reset HEAD <filename> #unstages (undos) file from staging area | |
git checkout --<filename> #reset back to the last commit | |
git config --global --list #lists all configurations | |
git add -u #updates files when renaming/deleting | |
git checkout -b <branchname> #creates and switches to new branch |