Skip to content

Instantly share code, notes, and snippets.

View rudkx's full-sized avatar

Mark Lacey rudkx

View GitHub Profile
@rudkx
rudkx / .bash_profile
Last active April 6, 2019 00:41
Bash profile
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
if [ -e $(xcode-select -p)/usr/share/git-core/git-prompt.sh ]
then
source $(xcode-select -p)/usr/share/git-core/git-prompt.sh
fi
if [ -e $(xcode-select -p)/usr/share/git-core/git-completion.bash ]
@rudkx
rudkx / .gitconfig
Last active November 16, 2021 17:38
git config file
[alias]
a = add
br = branch
ch = cherry-pick
ck = diff --check
ca = commit -a -v
co = checkout
conflicts = diff --name-only --diff-filter=U
cs = commit -v
di = diff