Skip to content

Instantly share code, notes, and snippets.

hongxia hxsnow10

Block or report user

Report or block hxsnow10

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:90e31be160b4ae305515e40f563147e6
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
View git commands
# 尝试add而不实际ADD, TODO: 怎么尝试的同时输出ignore的具体情况
git add -n \*
View gitignore large files
find . -size +1G | cat >> .gitignore
# with problems: same name added
You can’t perform that action at this time.