Skip to content

Instantly share code, notes, and snippets.

View proc0's full-sized avatar
🎯
Focusing

Alan proc0

🎯
Focusing
View GitHub Profile
@proc0
proc0 / gitcheats.txt
Created May 4, 2017 18:56 — forked from chrismccoy/gitcheats.txt
git cheats
# shortform git commands
alias g='git'
# push changes to an empty git repository for the first time
git push --set-upstream origin master
# remove untracked files in a git repository
git status -su | cut -d' ' -f2- | tr '\n' '\0' | xargs -0 rm
# get most modified files and counts