Git cheat sheet
- Author: Solène
- Date: 08 June 2016
- Tags: cheatsheet git versioning
NILHere is my git cheat sheet ! Because I don't like git I never remember
how to do X or Y with it so I need to write down simple commands ! (I
am used to darcs and mercurial but with the "git trend" I need to
learn it and use it).
Undo uncommited changes on a tracked file
$ git reset --hard
Get the latest version before working
$ git pull
Make a commit containing all tracked files
$ git commit -m "Commit message" -a
Send the commit to the repository
$ git push
Proxy Information
- Original URL
- gemini://perso.pw/blog//articles/git.gmi
- Status Code
- Success (20)
- Meta
text/gemini
- Capsule Response Time
- 174.469261 milliseconds
- Gemini-to-HTML Time
- 0.339029 milliseconds
This content has been proxied by September (3851b).