Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 912 Bytes

cheatsheet.md

File metadata and controls

33 lines (28 loc) · 912 Bytes

Command Cheatsheet

Git commands

Alias Command
git co git checkout
gl git pull --prune
glog git log
gp git push origin HEAD
gd git diff
gc git commit
gca git commit -a
gco git checkout
gcb git copy-branch-name
gb git branch
gs git status -sb
gac git add & commit
gst git status - sb
ga git commit amend
gu git reset last commit

Shell Commands

Alias Command
copyfile copy file to clipboard
copydir copy path to clipboard
reload! reload your shell
dotfiles cd to dotfiles
pubkey copy ssh pubkey to clipboard
serve python3 http server