Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P17438
Command-Line Input
Active
Public
Actions
Authored by
Eevans
on Oct 7 2021, 7:28 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F34677848: Command-Line Input
Oct 7 2021, 7:28 PM
2021-10-07 19:28:57 (UTC+0)
Subscribers
None
#!/bin/sh
set
-ex
EMAIL
=
${
EMAIL
:-
eevans
@sym-link.com
}
git config --global user.name
"Eric Evans"
git config --global user.email
"
$EMAIL
"
# Aliases
git config --global alias.st status
git config --global alias.co checkout
git config --global alias.ci commit
git config --global alias.br branch
git config --global alias.lg log
"--graph --abbrev-commit --decorate --format format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
# Disable silly `a/` & `b/` path mangling
git config --global diff.noprefix
true
# Colors
git config --global color.diff auto
git config --global color.branch auto
git config --global color.status auto
git config --global color.new cyan
git config --global color.old magenta
git config --global color.frag yellow
git config --global color.meta green
git config --global color.commit normal
Event Timeline
Eevans
created this paste.
Oct 7 2021, 7:28 PM
2021-10-07 19:28:57 (UTC+0)
Log In to Comment