Page MenuHomePhabricator

Command-Line Input

Authored By
Eevans
Oct 7 2021, 7:28 PM
Size
966 B
Referenced Files
None
Subscribers
None

Command-Line Input

#!/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

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9198881
Default Alt Text
Command-Line Input (966 B)

Event Timeline