Skip to content

Instantly share code, notes, and snippets.

@ufukomer
Last active July 7, 2020 11:08
Show Gist options
  • Select an option

  • Save ufukomer/c52de8b72811cc7d5eed to your computer and use it in GitHub Desktop.

Select an option

Save ufukomer/c52de8b72811cc7d5eed to your computer and use it in GitHub Desktop.
Git Commands
// 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