Last active
February 13, 2018 01:59
-
-
Save jykim16/0ce88443c1595a785215ba91f5172983 to your computer and use it in GitHub Desktop.
mac upgrades/setup for a new dev environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 = [email protected] | |
` | |
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>` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment