Skip to content

Instantly share code, notes, and snippets.

@Zash
Last active June 26, 2023 11:20
Show Gist options
  • Save Zash/0e282168ea70b72106fa8b420e1a4834 to your computer and use it in GitHub Desktop.
Save Zash/0e282168ea70b72106fa8b420e1a4834 to your computer and use it in GitHub Desktop.
git config, aliases etc
[pull]
ff = only
[commit]
verbose = true
[alias]
amend = commit --amend --no-edit
ci = commit
co = checkout
each = submodule foreach git
fa = fetch --all -p
up = switch
l = log --oneline --graph --decorate
la = log --oneline --graph --decorate --all
s = status -s
serve = daemon --reuseaddr --base-path=. --export-all --verbose
sdiff = diff --staged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment