Skip to content

Instantly share code, notes, and snippets.

@Skymetal
Created January 6, 2017 12:13
Show Gist options
  • Save Skymetal/187842d0f386799dc3debb9f7991262b to your computer and use it in GitHub Desktop.
Save Skymetal/187842d0f386799dc3debb9f7991262b to your computer and use it in GitHub Desktop.
git: sublime & git setup
  • Generate Github SSH keys
  • Configure Git
    • Username & email
      • git config --global user.email "your_email@example.com"
      • 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
  • Sublime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment