Skip to content

D-Lab's 3 hour introduction to basic Bash commands and using version control with Git and Github.

License

Notifications You must be signed in to change notification settings

dlab-berkeley/Bash-Git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

D-Lab's Bash and Git Workshop

Datahub License: CC BY 4.0

This repository contains the materials for D-Lab’s Bash and Git workshop, a fast introduction to using the terminal for git.

Prerequisites

No prior experience in either Bash or Git is necessary.

Check D-Lab's Learning Pathways to figure out which of our workshops to take!

Workshop Goals

In this workshop, we provide an introduction to using bash, the Bourne-Again Shell, which is used to interact with your computer via a terminal, and git, a version control software. This workshop is designed to provide a fast (3 hours) introduction to both these topics.

Installation Instructions

Before attending the workshop, please ensure you have gone through these instructions.

You'll need to make sure git is installed on your system. General instructions are available on Github.

  • Windows: You can install git via git for Windows.
  • Mac: It is very likely git should already come installed with your Mac. You can open a terminal and run git version to make sure. If it's not installed, you can install it using Homebrew.
  • Linux: You can use whatever package management system your distribution uses to install git. For Debian/Ubuntu, this is apt. For Fedora, this will be dnf.

Once git is installed on your computer, open up the Markdown file lessons/01_getting_started.md to create a Github account and set up authentication tokens. Then, we'll download these materials using a git clone step.

Is Bash or Git not Working on Your Computer?

If you do not have git installed and the materials loaded on your workshop by the time it starts, you can use the UC Berkeley DataHub to run the materials for these lessons. You can access the DataHub by clicking the following button:

Datahub

The DataHub downloads this repository, along with any necessary packages, and allows you to run the materials on UC Berkeley's servers. No installation is necessary from your end - you only need an internet browser and a CalNet ID to log in. By using the DataHub, you can save your work and come back to it at any time. When you want to return to your saved work, just go straight to Datahub, sign in, and click on the Bash-Git folder. Then click on New -> Terminal to open a terminal on DataHub.

Additional Resources

Software Carpentry:

About the UC Berkeley D-Lab

D-Lab works with Berkeley faculty, research staff, and students to advance data-intensive social science and humanities research. Our goal at D-Lab is to provide practical training, staff support, resources, and space to enable you to use R for your own research applications. Our services cater to all skill levels and no programming, statistical, or computer science backgrounds are necessary. We offer these services in the form of workshops, one-to-one consulting, and working groups that cover a variety of research topics, digital tools, and programming languages.

Visit the D-Lab homepage to learn more about us. You can view our calendar for upcoming events, learn about how to utilize our consulting and data services, and check out upcoming workshops.

Contributors

About

D-Lab's 3 hour introduction to basic Bash commands and using version control with Git and Github.

Topics

Resources

License

Stars

Watchers

Forks