/git-fundamentals

A starting point for discovering the wonderful world of Git, GitHub, and Git Annex (Assistant)

Primary LanguageShellOtherNOASSERTION

Git Fundamentals Workshop

A starting point for discovering the wonderful world of Git and GitHub in the context of Research Workflows.

Getting ready for today's workshop

Laptop Installation

Note: We'll install git together as a group during today's workshop, however you're welcome to go ahead on your own if you like.

Atom	$ git config --global core.editor "atom --wait"
nano	$ git config --global core.editor "nano -w"

Cloud Shell Example

Any time you need quick access to a shell command line somewhere other than your laptop you can use (for free!) Google Cloud Shell: https://cloud.google.com/shell/

Try launching Cloud Shell now in your browser by clicking this link:

https://console.cloud.google.com/home/dashboard?cloudshell=true

Then run these commands in the Cloud Shell window:

git clone https://github.com/dlab-berkeley/git-fundamentals/
cd git-fundamentals
./rstudio-on-gcp.sh

Our materials for Today

Software Carpentry tutorial: https://swcarpentry.github.io/git-novice/

Awesome resources

What to do when you run into TROUBLE?!?!

Flight Rules are the hard-earned body of knowledge recorded in manuals that list, step-by-step, what to do if X occurs, and why. Essentially, they are extremely detailed, scenario-specific standard operating procedures.