Loading...
Loading...
Tools
A quick-reference guide for common Git commands, organised by category. Dangerous operations are flagged.
Runs locally in your browser. No data is sent to any server.
git initInitialise a new git repository in the current directory.
git statusShow the state of the working tree and staging area.
git add .Stage all changes in the current directory.
git commit -m "message"Create a commit with the staged changes.
git diffShow unstaged changes between working tree and index.
git diff --stagedShow changes staged for the next commit.