This is a draft cheat sheet. It is a work in progress and is not finished yet.
Screen
|
List running screen sessions. |
|
Resume a detached screen. |
$ screen -S <name> <command>
|
Start a new screen session. |
Useful UNIX commands
$ python -m SimpleHTTPServer
|
Start a HTTP file server on port 8000 in the current dir. |
|
Get your IP address. |
|
Prepend sudo to your last command. |
|
Search through the output of the last command for <filter>
. |
Kurisu's Commands
$ cd NodeStatic && screen -S NodeStatic supervisor app.js
|
Start Node fileserver. |
$ cd overwatch && screen -S overwatch supervisor app.js
|
Start IRC Bot |
|
Clear the screen. |
|
|
Git
|
List all new or modified files to be commited. |
|
Show file differences not yet staged. |
|
Start tracking a file. |
|
Stop tracking a file. |
$ git commit -m [message]
|
Create a commit. |
$ git branch [branch name]
|
Create a new branch. |
|
Switch to a branch and update the current working dictionary. |
|
Deletes a branch. |
|
Delete a file and stage for deletion. |
$ git mv [original] [destinaton]
|
Moves a file and updates the reference. |
|
Temporarily store all tracked files. |
|
Restore stashed files. |
|
Discards stashed files. |
|
List stashes. |
$ git push [remote] [branch]
|
Push to a remote. |
|
Pull from a remote. |
|