Skip to content

Instantly share code, notes, and snippets.

@tomer
Created March 19, 2019 13:23
Show Gist options
  • Save tomer/f540d05ab474f5183d980bf310bf2cc8 to your computer and use it in GitHub Desktop.
Save tomer/f540d05ab474f5183d980bf310bf2cc8 to your computer and use it in GitHub Desktop.
GIT dotfile
[user]
name = Full Name
email = email@address
[alias]
tree = log --oneline --decorate --all --graph
[branch]
autosetuprebase = always
[core]
editor = vim
autocrlf = input
[filter "tabspace"]
smudge = unexpand --tabs=4 --first-only
clean = expand --tabs=4 --initial
[diff]
tool = meld
[commit]
template = /home/myUserName/.gitmessage
[merge]
ff = only
changed: ___ in file ___ reviewer: ___
# '^(added: |changed: |fixed: |fixes #|merged: |removed: |cp: )(.*)reviewer:'

Below you can find my current .gitconfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment