skip to main content
Department of Physics and Astronomy
University of Mississippi

Events

Event Information:

  • Wed
    17
    Apr
    2019

    Physics Journal Club: GitHub Workshop - Managing Shared Physics Projects with Git

    12:00 pmLewis Hall 104

    Dr. Kevin Beach
    Department of Physics and Astronomy
    University of Mississippi

    GitHub Workshop - Managing Shared Physics Projects with Git

    Originally developed by Linus Torvalds to organize the development of the Linux kernel, git has become a popular tool for version control and collaboration. Unlike comparable tools (e.g., subversion), it doesn't rely on a central repository or require that participants lock files during editing. Instead, the files are distributed, with each editor working from her own copy of the repository and having
    responsibility for merging changes when conflicts arise.

    Even for a single author working alone (no collaboration), git can help by tracking file changes and keeping files up-to-date across multiple computers. This is useful if you want to roll back to earlier versions of a project. And it's very convenient if you split your time between work and home computers.

    Git is quite efficient. Changes are stored as diffs (differences between adjacent versions of each file). And it is very flexible. The system is file-type agnostic, and is just as good at tracking a dissertation document as it is tracking source code. In this talk/workshop, I will show how to set up a repository and to carry out basic git operations from the command line. I will give examples of an integrated workflow
    (consistent with best practices for data provenance) that keeps source files, data, batch scripts, and manuscripts in one place.