[user] name = your name email = your.email@example.com [init] defaultBranch = master [core] editor = nano [alias] lg = log --oneline --graph --decorate --all br = for-each-ref --format='%(refname:short)' refs/heads refs/remotes brl = for-each-ref --format='%(refname:short)' refs/heads brr = for-each-ref --format='%(refname:short)' refs/remotes c = commit co = checkout cob = checkout -b fp = fetch --all --prune gb = log --oneline --graph --decorate gr = log --oneline --graph --decorate --branches gs = log --graph --decorate --branches --stat s = stash sp = stash pop st = status pm = !git switch main && git pull --ff-only origin main [color] branch = auto diff = auto status = auto interactive = auto [color "branch"] current = yellow reverse local = yellow remote = green [color "diff"] meta = yellow bold frag = magenta bold old = red bold new = green bold [color "status"] added = green changed = yellow untracked = cyan