- Simple guide to git
- GitHub cheat sheet
- Additional resources from GitHub
- 5 Git ideas explained the hard way
- git - the simple guild
- Getting a repo
- Updating a repo
- Branching in git can be hard to get your head around. Here is a great introduction to branching
- This claims to be the only introduction to git you'll ever need
- A guide to More Productive Git
- Learn Git with Bitbucket Cloud is from Atlassian so it focuses on Bitbucket instead of GitHub, but it is nicely organized and has nice illustations of how git works.
- Videos
- Basic Git Concepts is a nice overview of what git does
- Git & GitHub Crash Course For Beginners
- Git command line basics
- Learn Git in 20 Minutes
- Introduction to GitHub for Student Developers is a short introduction to GitHub presented at Microsoft Build 2020
- Introduction to Git - Core Concepts goes a little more in detail into what git does.
- Commit Often, Perfect Later, Publish Once: Git Best Practices
- 10 Common git Mistakes & How to Fix Them
- What is the best Git branch strategy?
If you get Error 403 when working with GitHub, some here are some suggestions for resolving that error
The following shows how to download the Class examples from GitHub. Note that this isn't required, you can just use a web browser if you prefer. Replace the URL in the git clone line the URL for your course/semester which is posted on Canvas. User commands are in bold.
whuber@kong:/mnt/c$ cd /mnt/c
whuber@kong:/mnt/c$ mkdir classes
whuber@kong:/mnt/c$ cd classes
whuber@kong:/mnt/c/classes$ ls -ltr
total 0
whuber@kong:/mnt/c/classes$ git clone https://github.com/wadehuber/codeexamples.git
Cloning into 'codeexamples'...
remote: Enumerating objects: 2136, done.
remote: Counting objects: 100% (495/495), done.
remote: Compressing objects: 100% (364/364), done.
remote: Total 2136 (delta 248), reused 334 (delta 124), pack-reused 1641
Receiving objects: 100% (2136/2136), 710.24 KiB | 1.71 MiB/s, done.
Resolving deltas: 100% (1174/1174), done.
Updating files: 100% (308/308), done.
whuber@kong:/mnt/c/classes$ ls -ltr
total 0
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 codeexamples
whuber@kong:/mnt/c/classes$ cd codeexamples/
whuber@kong:/mnt/c/classes/codeexamples$ ls -ltr
total 16
-rwxrwxrwx 1 whuber whuber 11357 Aug 24 18:23 LICENSE
-rwxrwxrwx 1 whuber whuber 1734 Aug 24 18:23 README.md
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 algorithms
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 applications
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 bash
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 c
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 concurrency
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 cpp
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 debugging
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 java
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 javascript
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 linux
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 programming
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 prolog
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 python
drwxrwxrwx 1 whuber whuber 4096 Aug 24 18:23 schemeGitHub offers a variety of tools for students. None of these are required for this class, but you may find some of the items helpful.