Skip to content

Instantly share code, notes, and snippets.

@jgierer12
Last active July 17, 2018 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgierer12/95ea12f1543e5c1900a6cbf082babf5c to your computer and use it in GitHub Desktop.
Save jgierer12/95ea12f1543e5c1900a6cbf082babf5c to your computer and use it in GitHub Desktop.
[user]
name = Jonas Gierer
email = my@email.com
signingkey = 0123456789ABCDEF
[core]
excludesFile = path/to/.gitignore
editor = code --wait --new-window
autocrlf = false
eol = lf
[commit]
template = path/to/.gitmessage
gpgSign = true
verbose = true
[alias]
graph = log --graph --all --decorate --stat --date=iso
changelog = log --oneline --no-merges
local = "!git changelog origin/\"$(git rev-parse --abbrev-ref HEAD)\".."
upstream = "!git changelog --no-merges ..origin/\"$(git rev-parse --abbrev-ref HEAD)\""
overview = log --all --since='2 weeks' --oneline --no-merges
today = "!git overview --since=00:06:00 --author=jgierer12@outlook.com"
recent = for-each-ref --count=10 --sort=-committerdate refs/heads/ --format="%(refname:short)"
praise = blame
stats = shortlog -sn --since='10 weeks' --until='2 weeks'
please = push --force-with-lease
amend = commit --amend -C HEAD
fast = commit -am fastcommit
fup = !git fast && git push
nope = reset HEAD
fuck = reset HEAD --hard
master = checkout master
conflicts = diff --name-only --diff-filter=U
[push]
default = simple
followTags = true
[status]
showUntrackedFiles = all
short = true
[transfer]
fsckobjects = true
[branch]
autosetupmerge = always
[gpg]
program = path/to/gpg
[winUpdater]
recentlySeenVersion = 1.2.3.windows.4
### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk
# 50-character subject line
#
# 72-character wrapped longer description. This should answer:
#
# * Why was this change necessary?
# * How does it address the problem?
# * Are there any side effects?
#
# Include a link to the ticket, if any.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment