Upgrade to Pro — share decks privately, control downloads, hide ads and more …

UvA API software carpentry git github 2015

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
Gijs Molenaar
September 11, 2015

UvA API software carpentry git github 2015

Gijs Molenaar

September 11, 2015

Transcript

28 slides
  1. Who are we Scientific Software Engineers Python & (C)++ AARTFAAC

    telescope MSc Artificial Intelligence SKA
  2. Agenda • Presentation about git • Interactive git tutorial •

    short break half way • next week: Python tips/tricks & IPython notebooks
  3. Days of solo science are over • Extreme example: •

    LHC Atlas paper - Contributers list 1/3rd of paper • Need to collaborate • We need reusable software
  4. Why? • History management • Structure code • Backups •

    Collaboration • Enables Temporary / exploratory work
  5. $ mkdir helloworld && cd helloworld $ git init Initialized

    empty Git repository in /Users/gijs/helloworld/.git/ $ ls -a . .. .git $ git status On branch master Initial commit nothing to commit (create/copy files and use "git add" to track)
  6. $ touch hi $ git add hi $ ls -a

    . .. .git hi $ git commit -a -m "first commit" [master (root-commit) f53feb8] first commit 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 hi $ git status On branch master nothing to commit, working directory clean
  7. just always use git • For code & LaTeX •

    Start using git for every project • You will start you ‘get’ it and find it useful

More Decks by Gijs Molenaar

Other Decks in Science