Skip to content

Instantly share code, notes, and snippets.

@BenGitsCode
BenGitsCode / gitclean.sh
Created June 14, 2017 23:54 — forked from ericelliott/gitclean.sh
gitclean.sh - cleans merged/stale branches from origin
git remote prune origin
git branch -r --merged master | egrep -iv '(master|develop)' | sed 's/origin\///g' | xargs -n 1 git push --delete origin
@BenGitsCode
BenGitsCode / Clone-Github-Wiki-Pages.sh
Last active August 7, 2017 15:20 — forked from hanxue/Clone-Github-Wiki-Pages.sh
Cloning Github Wiki Pages
# [ Modified from original => https://github.com/BenGitsCode/instructors.git ]
hanxue-mac:Github hanxue$ git clone https://github.com/AppScale/appscale.wiki.git
Cloning into 'appscale.wiki'...
remote: Counting objects: 1745, done.
remote: Compressing objects: 100% (1733/1733), done.
remote: Total 1745 (delta 1089), reused 10 (delta 4)
Receiving objects: 100% (1745/1745), 267.93 KiB | 35.00 KiB/s, done.
Resolving deltas: 100% (1089/1089), done.