Created
October 12, 2018 02:31
-
-
Save gokusenz/804e12bddc54d26d41b6ce1d6a61c957 to your computer and use it in GitHub Desktop.
GIT CRUD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git add file // Stage | |
| git reset HEAD file // Unstage | |
| git checkout -- file // Reset | |
| git diff file // Diff Unstage | |
| git diff --cached file // Diff Staged | |
| git commit -m "Message" // Commit | |
| git push // Push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment