Git Workflow
Meeting Info
- Date: Sept 16, 2015
- Time: 12:00 PM
- Location: 1030 NCSA
- Topic: Git Workflow
Technical: “Git Workflow”
Git is version control software best understood in by using it in the context of a workflow for collaborating on a code base. Attendees will get a better understanding of git by looking at the theoretical workflow, a practical example, and how to recover from a conflict.
Last meeting’s fixed example: Git tutorial – “add new post”
External Resources (in order of complexity):
- Try git live in your browser - great tutorial!
- Git Reference - favorite reference
- Git Cheatsheet
- Simple workflow
- Collaborating workflow
THW Community resources:
- THW-Berkeley Intro
- THW-Berkeley Fall 2015
Lightning Research Talk: “Error Catastrophe — HIV like melting ice”
HIV is a rapidly evolving virus which makes it difficult to treat or cure. By drawing comparisons between between the viral quasispecies and statistical physics we can calculate the “thermodynamic” properties of the virus, finding a “phase transition”. This phase transition is reveals novel drug treats and new treatment strategies.
Prez Tip #2
Git + LaTeX
LaTeX is a popular typesetting system in academia because it’s focus on the simple construction of mathematical formulas. Since LaTeX is like any other coding language, it is well suited to be tracked by git.
List of (suggested) branches:
- master – most publishable version
- advisor – track suggestions for edits
- sections – branch for each, to make tracking changes easier
- abstract
- introduction
- methods
- results
- discussion
- conclusion
When someone suggests edits, create a new branch (or update advisor branch) and save two versions of the paper, e.g. paper.tex and paper_advisor.tex, then run latexdiff:
$ latexdiff paper.tex paper_advisor.tex > paper_advisor_highlighted.tex
$ pdflatex paper_advisor_highlighted.tex
The pdflatex
command will output a marked-up version of the paper (removed words = crossed out red; added words = blue and underlined squiggle).
More tips and suggestions can be found on the StackOverflow question titled “Git + LaTeX workflow”.
Attendance
- Greg Hart
- Nicholas Laracuente
- Tan Nguyen
- Trang Vu
- Antoine Blanchard
- Tiangfang Xu
- Aki Nikolaidis
- Subhadeep De
- Sikandar Mashayak
- Stuti Shrivastava
- Noel Naughton
- Yubo Yang