Open adrienrn opened 8 years ago
Pulling avoiding merge commit.
git stash && git pull --origin develop && git stash pop
alias gitlines="git ls-files | xargs wc -l"
Remove all branches that does not exists on remote:
git fetch origin --prune
Push after release:
git push origin develop && git push origin master && git push origin --tags
Count useless object (how dirty your working copy is):
git count-objects
http://stackoverflow.com/questions/55729/how-often-should-you-use-git-gc
git log --all --graph --decorate --oneline --simplify-by-decoration
Ménage complet d'une copie locale.
http://stackoverflow.com/questions/7726949/remove-local-branches-no-longer-on-remote
Remove a tag locally and remotely
Because sometimes, you're making a big giant poop.