Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Git for Windows Developers

Git for Windows Developers

An overview of how Git works and tips for Windows developers.

This talk was presented at the Oklahoma City Developers Group on November 5th, 2012.

Matt Chandler

November 05, 2012
Tweet

More Decks by Matt Chandler

Other Decks in Programming

Transcript

  1. GIT

  2. SET UP YOUR .GITCONFIG $ git config --global user.name “Matt

    Chandler” $ git config --global user.email “[email protected]” CREATE A .GITIGNORE [Bb]in/ [Oo]bj/ TestResults *.suo *.user *.sln.docstates # more files and folders...
  3. SETTING A GLOBAL .GITIGNORE $ git config --global core.excludesfile ~\.global_ignore

    .GITIGNORE TEMPLATES https://github.com/github/gitignore
  4. INTEGRATION MANAGER WORKFLOW Graphic by Scott Chacon (http://git-scm.com) is licensed

    under the Creative Commons Attribution 3.0 Unported License.
  5. DICTATOR AND LIEUTENANTS WORKFLOW Graphic by Scott Chacon (http://git-scm.com) is

    licensed under the Creative Commons Attribution 3.0 Unported License.
  6. always what is in production master branch hotfix branches new

    features, merged in to master when ready feature branches bug fixes, merged in to master and long running feature branches when ready
  7. CUSTOMIZE YOUR ENVIRONMENT make use of aliases [alias] co =

    checkout st = status tags = tag -l branches = branch -a remotes = remote -v