NYC Local Session Materials
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Additional_Resources Pushed Weeks 1 - 3 Local Material Sep 23, 2019
Lesson_Recaps Removed redundant files Sep 23, 2019
Quiz_Review Pushed Weeks 1 - 3 Local Material Sep 23, 2019
Sample_Projects/Project 1 Added Project 1 samples Oct 7, 2019
README.md Added ReadMe Sep 23, 2019

README.md

NYC-Flex-9

This is where you will find all of our NYC Local Session Material. This will be updated periodically, but you only need to Fork and Clone once.

If you wish to update a previously cloned repo like this one, follow these steps:

Steps to Update a Previously Cloned GitHub Repo on your Local Computer

Note that once you have forked and cloned a repo, you don’t need to clone it again.

1) Go to where you currently have the NYC-Flex-8 repository saved on your local computer and type git remote -v, you should get something like this:

origin https://git.generalassemb.ly/<your username>/NYC-Flex-8.git (fetch)
origin https://git.generalassemb.ly/<your username>/NYC-Flex-8.git (push)

The forked repo (i.e. the version of it on your GitHub) is the origin.

2) Next, you need to add the updated repository as the upstream by typing (in your cloned repository on your computer): git remote add upstream https://git.generalassemb.ly/DSI-US-8/NYC-Flex-8 And check the remote again (git remote -v). Now you should see this:

origin https://git.generalassemb.ly/<your username>/NYC-Flex-8.git (fetch)
origin https://git.generalassemb.ly/<your username>/NYC-Flex-8.git (push)
upstream https://git.generalassemb.ly/DSI-US-8/NYC-Flex-8.git (fetch)
upstream https://git.generalassemb.ly/DSI-US-8/NYC-Flex-8 (push)

3) Do the usual git add . then git commit -m “whatever your message is”, then git push origin master to sync your local changes with the forked GitHub repo.

4) Now using git pull upstream master, you can pull the changes I’ve pushed to the DSI-US-8/NYC-Flex-8 repo