Last active
July 7, 2020 11:08
-
-
Save ufukomer/c52de8b72811cc7d5eed to your computer and use it in GitHub Desktop.
Git Commands
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
| // Clone respotory to your pc | |
| git clone 'ssh clone url' | |
| // Push | |
| git add . | |
| git commit -m "Your message" | |
| git push -u origin master | |
| // Force push | |
| git push origin master --force | |
| // Pull | |
| git pull | |
| // Remove commit | |
| git reset --hard HEAD~1 | |
| git push origin HEAD --force | |
| // md syntax | |
| https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet | |
| https://confluence.atlassian.com/display/STASH/Markdown+syntax+guide | |
| https://github.com/tchapi/markdown-cheatsheet/blob/master/README.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment