Skip to content

Instantly share code, notes, and snippets.

@gbirke
Last active May 23, 2016 12:17
Show Gist options
  • Save gbirke/f492cd962f3f5d442fc79c5893774a6a to your computer and use it in GitHub Desktop.
Save gbirke/f492cd962f3f5d442fc79c5893774a6a to your computer and use it in GitHub Desktop.
Example dotfiles for Ansible playbook introduction
# include in your .bash_profile with "source .alias" or do the following:
# ln -s .alias .bash_aliases
alias ll="ls -al"
alias ..="cd .."
alias ...="cd ../.."
alias pu=pushd
alias po=popd
alias psgrep="psgrep -a"
[core]
quotepath = false
excludesfile = ~/.gitignore_global
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
unstage = reset HEAD --
unstash = stash pop
publish = push -u origin HEAD
ciagain = commit -a --amend --no-edit
add-untracked = !"git status --porcelain | awk '/\\?\\?/{ print $2 }' | xargs git add"
forcepush = push -f --no-verify
amend = commit --amend
[push]
default = simple
*~
.DS_Store
.idea
.venv
" See http://vim.spf13.com for how to spruce up Vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment