3-5 Minutes
Git is a version control system - it enables you to control the various versions of projects, such as open source projects.
Version control systems, along with managing changes to projects, help ensure every contributor is working on the same codebase.
Git is a tool that makes it easy to contribute to projects that other people are
working on. The project code lives in a central remote repository, traditionally called
origin
. Programmers copy the project into their own local repository,
where they can work on adding features and squashing bugs. When finished, they
push the code back into origin
, for other contributers to see and pull from.
Through participating in this session, attendees will be able to:
- Understand why git is used in an open source project
- Use basic git commands to:
- get a copy of an open source project
- save modifications/additions/deletions to the project
- submit those changes to the project
- incorporate other's changes to the project
- verify the status of the project repository
- perform basic troubleshooting
NOTE: this will be a hands-on overview of git. It is incredibly powerful with many options and capabilities. The goal is to get you started with git, but it will take time and practice on your own to make you into an expert.
We will be using git
from the command line in this course. There are a lot of commands, and they can be kind of confusing. That's OK... it will start to make sense once you do it a few times. And that's why you're here!
There are Graphical User Interface (GUI) tools available as well, but they are beyond the scope of this workshop.
... and there are many others.
- Git Concepts:
- Cloning a Repository:
- Git Primary Workflow: Add, Commit, Push:
- Git Common Operations:
- Branching and Merging:
Previous | Up | Next |
---|---|---|
Setting up Git | Table of Contents | Git Concepts |