Skip to content

Instantly share code, notes, and snippets.

@deveshjeshani
Last active July 7, 2022 10:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save deveshjeshani/ac9378b665f259f83aa5a8d5d448fe50 to your computer and use it in GitHub Desktop.
Save deveshjeshani/ac9378b665f259f83aa5a8d5d448fe50 to your computer and use it in GitHub Desktop.
git config settings
git config --global remote.origin.prune true
git config --global rerere.enabled true
git config --global push.autoSetupRemote true
git config --global alias.lg "log --oneline --graph --decorate"
git config --global alias.s "status"
git config --global alias.b "branch --all"
git config --global alias.ch "checkout"
git config --global color.ui.auto true
git config --global color.status.added "green normal bold"
git config --global color.status.changed "red normal bold"
git config --global color.status.updated "green normal bold"
git config --global color.status.untracked "yellow normal bold"
git config --global color.branch.remote "red normal bold"
git config --global color.branch.local "magenta normal bold"
git config --global color.diff.old "red bold"
git config --global color.diff.new "green bold"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment