cheat sheets.

$ cheat git_usage
Some common git usage
---------------------

To ignore certain files:
$ echo "log/*.log" >> .gitignore
$ echo "tmp/**/*" >> .gitignore
$ git add .
$ git commit -m "Add files"

To create a public repository:
$ mkdir someapp.git
$ cd someapp.git
$ git --bare init
$ git-update-server-info

Add public repository as a remote:
$ git repo-config remotes.origin.url [url]
$ git push
Version 2, updated 309 days ago.
. o 0 ( | previous | history | revert to | current | diff )
( add new | see all )