Git Tutorial

Git is a powerful system for managing individual and group projects, including source code and papers. We will introduce everyday Git functionality as well as common workflows for individual, small-group, and community projects. In addition to contributor roles like preparing and revising pull requests, we will also explore integrator roles such as reviewing, merging, and release/branch management, as well as related services.

Group activity

  • Clone my repository
    git clone https://github.com/jedbrown/git-tutorial-2020
  • Fork my repository and add your fork as a remote
    git remote add yourusername https://yourusername@github.com/yourusername/git-tutorial-2020
  • Pick some neighbors and choose a group name

  • Edit groups.csv to add yourself (with your group name)

  • Commit your changes

    git add groups.csv
    git commit
  • Push to your repository
    git push yourusername master
  • Nominate one of your group members as "integrator" and make a pull request to their repository.

Resources