Add aliases for git
https://githowto.com/aliases
vi ~/.gitconfig
paste
`
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
type = cat-file -t
dump = cat-file -p
cm = commit -m
[user]
name = Jonathan Kim
email = jonathan.kim@invitae.com
`
Vim global settings
vi ~/.vimrc
paste
`
set ts=4 sw=4 #tab length is set to 4 spaces
set expandtab #auto tab
set relativenumber #shows relative number to current line
set number #shows line number
`
Add permanent authenticating with git ssh repositories
https://confluence.atlassian.com/bitbucketserver/permanently-authenticating-with-git-repositories-776639846.html
Global gitignore
https://help.github.com/articles/ignoring-files/
https://gist.github.com/octocat/9257657
added:
# Pycharm #
###########
.idea
View markdown files in preview
https://github.com/toland/qlmarkdown/
$ brew update
$ brew cask install qlmarkdown
Add postgres passwords for quick access into databases
vi ~/.pgpass
paste `<DATABASE_URI>:<PORT>:<DATABASE_NAME>:<USERNAME>:<PASSWORD>`