Skip to content

git CLI Cheat Sheet ​

Start local server ​

zsh
npm run docs:dev

Save and push changes (no PR) ​

zsh
git add .
git commit -m "..."
git push origin main

Create your new branch ​

zsh
git checkout -b docs/my-branch

Save and push changes (with PR) ​

zsh
git add .
git commit -m "..."
git push origin docs/my-branch
#### Submit your pull request
gh pr create --base main --head docs/my-branch --title "..." --body "..."

Explore and learn. Released under the MIT License.