- Generate Github SSH keys
- Configure Git
- Username & email
git config --global user.email "[email protected]"
git config --global user.name "Billy Everyteen"
- Default Commit tool (sublime)
git config --global core.editor "'C:/Program Files/Sublime Text 3/subl.exe' -w"
- Set git push strategy
git config --global push.default matching
- Last (-n)/gitconfig
- Add to .gitconfig [alias]
last = log --pretty=format:'%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s' --date=relative
- Username & email
- Sublime
- Open file/folder with sublime
- Add sublime to env path (subl command)
- Bash aliases
alias gs=git status
alias gd=git diff --color-words
alias gc=git diff --color-words --cached
-
-
Save thehig/3735cdc429aea7bec097b976139497fa to your computer and use it in GitHub Desktop.
git: sublime & git setup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment