Visual Studio Tools for Git (Preview)
Github’s introduction to Learning Git
- Github’s ‘Try Git’ for a 10 minute interactive lesson
- Git Immersion Online Tutorial
- Github’s list of good Git resources
- For even more information, check out Github’s Help page
Topic Branches – an important concept for working well together on Github
- Install the Visual Studio tools.
- Create an account on Github.
- Fork the ‘blessed’ repository owned by Eugene, https://github.com/alterm4nn/ChronoZoom, into your own Github repository.
- Clone your ChronoZoom repository on Github to your local computer
- Create and switch to a ‘topic branch’ for what you are working on, e.g. ‘git checkout –b newFooBar’
- Make your changes, commit into the local branch on your computer.
- Push the changes to Github so everyone can see them, e.g. ‘git push origin newFooBar’
- When you’re ready to integrate your changes with the rest of the team, submit a ‘Pull Request’ back to Eugene
- Do not install ‘Github for Windows’. This is an ‘easy to use’ tool that doesn’t integrate well with Visual Studio and can interfere with your Git installation.
- I’ve found it best to learn ‘git from the command line’ from the beginning and not rely upon GUI tools too much. The GUI tools are great to get started, but you’ll rapidly find that you need the power of the command line as you get into the more advanced scenarios and having to ‘relearn’ git from the command line is a waste of time.