Skip to content

Commit

Permalink
gitconfig revisit
Browse files Browse the repository at this point in the history
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
  • Loading branch information
atomaka committed Apr 6, 2017
1 parent 92085b6 commit 14460d6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
3 changes: 2 additions & 1 deletion aliases
Expand Up @@ -32,7 +32,7 @@ alias gdss="git diff --shortstat"
alias gfa="git-date-added"
alias gfl="git log --patch"
alias gi="gitignore-io"
alias gl="git lol"
alias gl="git fancy-graph"
alias gh="git hist"
alias ghd="git hist-details"
alias ght="git hist-tags"
Expand All @@ -51,6 +51,7 @@ alias grc="git rm --cached"
alias grh="git reset --hard"
alias grm="git rm"
alias gs="git status"
alias gu="git undo"
alias gup="git branch --merged | egrep -v '(^\*|master|dev)' | xargs git branch -d"
alias gw="git diff --check"
alias Grep='grep'
Expand Down
23 changes: 15 additions & 8 deletions gitconfig
@@ -1,41 +1,48 @@
[user]
name = Andrew Tomaka
email = atomaka@gmail.com
name = Andrew Tomaka
signingkey = 582BAC86
[github]
user = atomaka

[apply]
whitespace = fix
[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-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
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))'
undo = reset --soft HEAD^
[color]
ui = auto
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta
old = red
new = green
old = red
meta = yellow bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[commit]
gpgsign = true
[core]
excludesfile = ~/.gitignore_global
autocrlf = input
editor = vim
excludesfile = ~/.gitignore_global
filemode = false
[merge]
tool = vimdiff
[push]
default = upstream
[commit]
gpgsign = true
[status]
showUntrackedFiles = all
# show all files instead of just directories
[transfer]
fsckobjects = true
# https://groups.google.com/forum/#!topic/binary-transparency/f-BI4o8HZW0

0 comments on commit 14460d6

Please sign in to comment.