/github-workshop

Workshop and collection of howtos for dealing with git / github

MIT LicenseMIT

CCS-Amsterdam Git(hub) Workshop

This repository contains a collection of howtos for dealing with git / github.

For more information, the git pro book is an excellent and freely available resource.

Preparation:

  • We assume that you have git installed so that you can run commands in the terminal. There are graphical tools for working with git(hub), but using the command line tool helps understanding what you are doing, and will also prepare you for using git on a server without graphical interface and/or another computer without graphical tools installed.
  • Register your own GitHub account

Howtos

Basic Git(hub) usage

More advanced git(hub) usage

Words of wisdom

  • Code should (almost) always be on github
  • A repository should (almost) always have a license
  • Pull when you start working
  • Commit early, commit often
  • Create a branch if you have 'work in progress' that you don't want to commit yet to the main line. And then commit and push that branch (early and often).