Skip to content

Latest commit

 

History

History
89 lines (74 loc) · 5.18 KB

File metadata and controls

89 lines (74 loc) · 5.18 KB

git & GitHub

Git Videos

Git Tutorials

Git Best Practices

GitHub, GitLab, & BitBucket

GitHub Error 403 help

If you get Error 403 when working with GitHub, some here are some suggestions for resolving that error

Getting the class examples from git

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 scheme

GitHub Student Developer Pack

GitHub offers a variety of tools for students. None of these are required for this class, but you may find some of the items helpful.