gitconfig revisit

Nothing major but two nice updates:

* showUntrackedFiles = all

When a new directory enters the repo space, this should show all files
in the directory instead of just the directory name

* fsckobjects = true

Universally recommended via the note in the file
This commit is contained in:
Andrew Tomaka 2017-04-06 10:43:51 -04:00
parent 92085b6f7d
commit 14460d6f38
No known key found for this signature in database
GPG key ID: C78D1A81582BAC86
2 changed files with 17 additions and 9 deletions

View file

@ -32,7 +32,7 @@ alias gdss="git diff --shortstat"
alias gfa="git-date-added" alias gfa="git-date-added"
alias gfl="git log --patch" alias gfl="git log --patch"
alias gi="gitignore-io" alias gi="gitignore-io"
alias gl="git lol" alias gl="git fancy-graph"
alias gh="git hist" alias gh="git hist"
alias ghd="git hist-details" alias ghd="git hist-details"
alias ght="git hist-tags" alias ght="git hist-tags"
@ -51,6 +51,7 @@ alias grc="git rm --cached"
alias grh="git reset --hard" alias grh="git reset --hard"
alias grm="git rm" alias grm="git rm"
alias gs="git status" alias gs="git status"
alias gu="git undo"
alias gup="git branch --merged | egrep -v '(^\*|master|dev)' | xargs git branch -d" alias gup="git branch --merged | egrep -v '(^\*|master|dev)' | xargs git branch -d"
alias gw="git diff --check" alias gw="git diff --check"
alias Grep='grep' alias Grep='grep'

View file

@ -1,6 +1,6 @@
[user] [user]
name = Andrew Tomaka
email = atomaka@gmail.com email = atomaka@gmail.com
name = Andrew Tomaka
signingkey = 582BAC86 signingkey = 582BAC86
[github] [github]
user = atomaka user = atomaka
@ -8,34 +8,41 @@
[apply] [apply]
whitespace = fix whitespace = fix
[alias] [alias]
fancy-graph = log --graph --decorate --pretty=oneline --abbrev-commit
hist = log --graph --pretty=format:'%Cred%h%Creset - %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative hist = log --graph --pretty=format:'%Cred%h%Creset - %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
hist-details = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat hist-details = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
hist-tags = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative hist-tags = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
lol = log --graph --decorate --pretty=oneline --abbrev-commit
most-recent-by-branch = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))' most-recent-by-branch = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
undo = reset --soft HEAD^
[color] [color]
ui = auto ui = auto
[color "branch"] [color "branch"]
current = yellow reverse current = yellow reverse
local = yellow local = yellow
remote = green remote = green
[color "diff"] [color "diff"]
meta = yellow bold
frag = magenta frag = magenta
old = red
new = green new = green
old = red
meta = yellow bold
[color "status"] [color "status"]
added = yellow added = yellow
changed = green changed = green
untracked = cyan untracked = cyan
[commit]
gpgsign = true
[core] [core]
excludesfile = ~/.gitignore_global
autocrlf = input autocrlf = input
editor = vim editor = vim
excludesfile = ~/.gitignore_global
filemode = false filemode = false
[merge] [merge]
tool = vimdiff tool = vimdiff
[push] [push]
default = upstream default = upstream
[commit] [status]
gpgsign = true showUntrackedFiles = all
# show all files instead of just directories
[transfer]
fsckobjects = true
# https://groups.google.com/forum/#!topic/binary-transparency/f-BI4o8HZW0