Command | Description |
---|---|
git init |
Create Git repository |
git clone [repository] |
Clone Git repository |
git add [file] |
Add file to staging area |
git rm --cached [file] |
Remove file from staging area |
git commit |
Create commit |
git status |
Show status of repository |
git log |
Show version history |
git log --oneline |
Show version history in single lines |
git diff |
Show changes to last commit |
Last active
July 26, 2017 08:37
-
-
Save apfohl/c087752d42ae5633bbfcda6a8ef2d1a9 to your computer and use it in GitHub Desktop.
Git Commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment