GitControl
Home
Learn
Cheatsheet
Playground →
bash — ~/repo
no repo
~/repo
❯
Repository State
Branches
no repository
Working Files
—
Recent Commits
—
Quick start:
git init
→
touch app.js
→
git add .
→
git commit -m "init"
Tips:
↑↓ history · Tab autocomplete · type
help
Quick Reference
git init
start repo
touch <file>
create file
git add .
stage all
git commit -m
commit
git branch <n>
new branch
git switch <n>
switch
git merge <n>
merge
git log --oneline
history
git stash
stash
clear
clear