Shell | Common GIT Commands

Tuesday, April 2nd, 2019 | Server

View differences:

git diff

View status:

git status

View status in current directory:

git status .

git diff HEAD 'filename'
git diff --cached 'filename'
git diff * git commit -a
git commit -a -m "commit notes"
git remote set-url origin ssh://git-codecommit.us-east-1.amazonaws.com/v1/repos/*reponame*
git remote -v
git pull
git branch

From Project notes:

https://stackoverflow.com/questions/215718/how-can-i-reset-or-revert-a-file-to-a-specific-revision

GIT Status shows all files as changed: https://github.com/microsoft/WSL/issues/184


Comments


E19 Creative

Products | Support | About | Contact | Login