Collaboration

Tools that can help with collaborating on git repositories

There are many ways to collaborate

Everyone can use one repository, added as collaborators

There are many ways to collaborate

Everyone can use one repository, added as collaborators
  • You need to trust everyone!
  • Important to use branches
  • Good for small teams

There are many ways to collaborate

People can fork or copy the repository

There are many ways to collaborate

People can fork or copy the repository
  • Can let anyone fork the repository and make changes
  • They have to make a “pull request” so you can review their changes
  • Easier for bigger projects
  • This is what we will be trying out today!

Useful git tools: .gitignore

  • Something that is particularly useful when working on a group project is the git ignore file
  • A file called .gitignore in the top/parent directory of your git repository
  • Plain text file with a list of files that should not be tracked with git

scratch_notes.md
__pycache__/
.ipynb_checkpoints
_build/
*.egg

We can chat about Jupyter notebooks and their issues with git at the end of the course during the Q&A if you like.

Collaboration

Let’s jump straight in to it!