Skip to content

Commit

Permalink
Update git config
Browse files Browse the repository at this point in the history
- Update git aliases to verbosely list out branch and remotes
- Ensure full path when showing Git status

Issue: #1
  • Loading branch information
Newton committed Jul 22, 2014
1 parent 85afb63 commit e5361c3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions conf/git/config
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
# Add untracked, remove deleted, and show status
adda = !git add -A && git status

# Sets git branch default to list verbosely
branch = !git branch --list -v

# Sets git remote default to list verbosely
remote = !git remote -v

# Fetch a repository ($1) and checkout its ref ($2) HEAD
# Use: `git browse https://github.com/necolas/dotfiles <commit-ish>`
browse = !bash -c 'git fetch $1 ${2:-HEAD} && git checkout FETCH_HEAD' -
Expand Down Expand Up @@ -167,3 +173,7 @@
# reuse the recorded resolutions
[rerere]
enabled = 1

[status]
# always show the full path
relativePaths = false

0 comments on commit e5361c3

Please sign in to comment.