Skip to content

Instantly share code, notes, and snippets.

View hxsnow10's full-sized avatar

hongxia hxsnow10

  • beijing,china
View GitHub Profile
git gc && join -e ERROR -a 2 -j 1 -o 2.1,2.3,1.2 --check-order <( git rev-list --objects --all | sort -k 1 ) <( git verify-pack -v .git/objects/pack/pack-*.idx | gawk '( NF == 5 && $2 == "blob" ){print}' | sort -k1 ) | sort -k2gr
# 尝试add而不实际ADD, TODO: 怎么尝试的同时输出ignore的具体情况
git add -n \*
# http://stackoverflow.com/questions/4035779/gitignore-by-file-size
find . -size +1G | cat >> .gitignore
# with problems: same name added
@hxsnow10
hxsnow10 / try2
Created January 13, 2015 18:13
try2
hello night