Git is a distributed version control system, it can be used as a server out of the box. Dedicated Git server software adds access control, display the contents of a Git repository via the web, and help to manage multiple repositories.
GitHub is a Git repository hosting service, but it adds many of its own features. While Git is a command line tool, GitHub provides a Web-based graphical interface. It also provides access control and several collaboration features, such as wikis and basic task management tools for every project.
The workshop will be a mix of lectures and hands-on exercises.
Topics covered
- Command line refresher
- What are Version Control systems?
- Git workflow
- Setting up repos
- Staging changes
- Committing changes
- Using & merging branches
- Using remote repos
Slides
Available on GitHub
Exercises
Resources
- For Windows users, download and install Git Bash
- Command line cheat sheet
- Command Line Power User video course by Wes Bos (free)
- Git cheat sheet
- Additional GitHub tutorial
- Command line customization with iTerm on Mac
Tech requirements
- Your laptop (Mac, PC, Linux) and charger
- A modern web browser (Chrome, Firefox, Safari)
Payment
This session is Free!
Some reveal.js features, like external Markdown and speaker notes, require that presentations run from a local web server. The following instructions will set up such a server as well as all of the development tasks needed to make edits to the reveal.js source code.
-
Install Node.js (4.0.0 or later)
-
Clone the repository
$ git clone https://github.com/saracope/git-the-basics.git
-
Navigate to the folder
$ cd git-the-basics
-
Install dependencies
$ npm install
-
Serve the presentation and monitor source files for changes
$ npm start
-
Open http://localhost:8000 to view the presentation
You can change the port by using
npm start -- --port=8001
.
- css/ Core styles without which the project does not function
- js/ Like above but for JavaScript
- plugin/ Components that have been developed as extensions to reveal.js
- lib/ All other third party assets (JavaScript, CSS, fonts)