Learning to use git effectively

Last year I gave this presentation to try to motivate researchers and analysts at my workplace to learn how to use version control. I learned to use git just a few years ago, and so I remember how daunting it is at first. I generally operate under the assmumption that git is hard to learn, so in my presentation I focus on trying to motivate listeners , and disprove some of the common excuses for not using git.

https://imgs.xkcd.com/comics/git.png

Effectively using git is an ongoing process though, and the web has a wealth of resources for the motivated learner. Here's a collection of tutorials, courses and posts that I reference when I need a refresher on terms, or a reminder of what best pratcies are.

Presentation

Tutorials

Terminology & Background

Best Practices

Workflows & Guidelines

Extra tips

  • I primarily use the command line, but my favorite gui, Sourcetree has a nice & intuitive interface for viewing logs, adding patches and comparing branches.
  • Doing work on a branch gives you maximium flexibility when you're trying something out.
  • Rebasing can be useful for cleaning-up lots of commits on a branch before merging. You can easily combine commits, and re-write messages.

Written by sideprojects in Notes on Fri 18 March 2016. Tags: links, learning, git,