Last active
May 28, 2017 22:21
-
-
Save alejio/eb5eb74a19de0a68f10edcbff90682a0 to your computer and use it in GitHub Desktop.
Working with Git: basic commands
This file contains 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
# Add and commit all | |
git add -A && git commit -m "Your Message" | |
# Push to branch | |
git push -u origin <branch> | |
# undo commit | |
git reset HEAD~ | |
# remove tracked file | |
git rm --cached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment