Created
February 15, 2024 15:10
-
-
Save simonbingham/bd36fb4dbb8203c4df28041451bd46ca to your computer and use it in GitHub Desktop.
Helpful Git Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# use column view for `git branch` | |
git config --global column.ui auto | |
# sort by committer date when using `git branch` | |
git config --global branch.sort -committerdate | |
# reapply conflict resolution on subsequent conflict | |
git config --global rerere.enabled true | |
# less dangerous when collaborating | |
git push --force-with-lease | |
# adds a cron task that runs in the background to make things faster | |
git maintainance start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment