Git Guide - GitHub Cloud
NC State is transitioning to using GitHub Enterprise cloud. As part of this transition, you may be submitting your work to a repository under NC State’s GitHub Enterprise on https://github.com.
Course materials, like assignment write-ups, syllabi, etc., for most CSC courses will remain as GitHub pages on NC State’s Legacy Enterprise system. You will log into this system using your unity id and password to access course materials.
You will submit your CSC course work to NC State’s GitHub Cloud system on github.com.
Note that materials may have links to NC State’s Legacy Enterprise system for project submission. You should substitute for the NC State GitHub Cloud repository when submitting your work.
Logging into GitHub Cloud
Logging Into NC State GitHub Cloud:
- Go to https://github.com.
- Click the Sign in link in the upper right corner. If you are already signed into a personal github.com account, select your user icon in the upper right and click the two arrow icon to the right of your username > Add account. This will let you add an account that you can switch between.
- Enter your username as
unityid_ncstate. For example, Dr. Heckman’s user name issesmith5_ncstate. - Click Sign in with your identity provider.
- You’ll see a request to use Single sign-on to North Carolina State University. Click Continue.
- Follow the prompts to sign into your NC State account. You’ll be redirected to github.com when you’re done.
Your repositories will be in the ncstate-csc-coursework organization.
Setting Up SSH Keys
You must use SSH keys to clone, pull, and push to your GitHub Cloud repos. You’ll need to create a new ssh key for use with your NC State GitHub Cloud account.
The full instructions are on GitHub’s website.
- Generate new SSH Key. Use your NC State email address.
- Add a new SSH key. After adding your SSH key, click on the Configure SSO drop down and select
ncstate-csc-courseworkand authorize the organization to use the key.
If you see the following message:
1
2
ERROR: The 'ncstate-csc-coursework' organization has enabled or enforced SAML SSO.
To access this repository, you must use the HTTPS remote with a personal access token or SSH with an SSH key and passphrase that has been authorized for this organization.
make sure you Configure SSO on the key. See the item about adding a new SHS key above.
