Git Tricks

Reset a branch to a previous commit Get rid of old branches  The command git remote prune origin –dry-run lists branches that can be deleted/pruned on your local. An option –dry-run is needed. Fix slow and buggy repos git gc (man page) runs a number…

Posts navigation