Welcome to General Assembly - Santa Monica!
Welcome WDI-SM 62
This will be your shared class repository! Guides, in-class labs and code samples and other resources will live here. ALL official resources for this class will live in this repository.
- Class Repository Structure
- WDI GitHub Workflow
- Contact Information
- Course Information and Dates
- Immersive Graduation Requirements
/WDI-SM-62 /resources /projects /work /w01 /d01 /00_morning_exercise /01_topic /02_topic /03_topic /04_topic /ah --or-- 05_topic
Becoming Familiar With the WDI GitHub Workflow in GitHub Enterprise
Forking (copying) the GA Class Repository to Your GitHub Account
You will have read-only access to the GA class repository. However, you most certainly will want to be able to make changes (e.g., add notes, save code exercises, etc). These changes will be saved to your own personal copy of GA's Student repository - known as a fork. To get this fork do the following:
- Make sure that you're logged in to your GitHub account.
- In another tab, browse to the GA class repository: https://git.generalassemb.ly/WDI-LA/WDI-SM-62
- In the top-right corner of the page, click the
Now you will have a copy of the repository in your GitHub account!
Cloning Your Copy of the Repository Locally
Now that you have a copy of the class repo in your GitHub account, it's time to bring the contents of that repo onto your computer - this process is known as cloning:
- On your GitHub account, browse to your fork of the GitHub class repo and under the repository name click
Clone or download
- In the
Clone with HTTPSsection, click the clipboard to copy the URL for the repository.
- Open Terminal and navigate to the
~/codefolder - you may choose a different folder if you wish, however our instructions in class will assume you clone the repo into a folder named
- In Terminal, type
git cloneand paste in the URL on the clipboard. The command should now look something like this:
$ git clone https://git.generalassemb.ly/YOUR-GITHUB-USERNAME-HERE/WDI-SM-62.git
You can now
$ cd WDI-SM-62 and check out your local copy of your fork of the GA class repo!
Adding a git remote for the original GA class repo
Repos on your computer are called local repos.
Repos on GitHub are called remote repos.
When you cloned your fork of the repo, a git remote was automatically created. You can always check which remotes you have with this command:
$ git remote -v
Note that by convention, the remote that points to the GitHub repo it was cloned from is called origin.
In order to get the updates that the instructors push to the GA class repo, you will need to create another remote that points to GA's class repo that you forked:
$ git remote add upstream https://git.generalassemb.ly/WDI-LA/WDI-SM-60
Note that by convention, the remote that points to the original GitHub repo that was forked is named upstream.
Getting Changes Pushed by Your Instructors
Each day (maybe several times a day), instructional materials will be pushed to the class repo by your instructors. You will want to "pull" these materials into your local repo.
First, if you've made any changes within the repo locally, you will need to commit those changes first:
$ git add -A $ git commit -m "Add amazing work"
Now you can fetch the updates from the Github Student repo and merge them into your local repo (on your computer):
$ git pull upstream master
When you want to save commits you have locally to your forked GitHub class repo (in the cloud):
$ git push origin master
Here is a picture of this Git/GitHub workflow:
Handling Merge Conflicts
A merge conflict occurs when the same line of code in your local repo is different than code in your remote repo. This confuses GitHub and therefore you must manually fix merge conflicts before pulling your remote into your local. GitHub will tell you that a merge conflict exists and will annotate your code to show you how your local code differs from your remote code. An example of such annotation is below.
<<<<<<< HEAD // Local code is here ======= // Changes you are pulling go here >>>>>>> 75c37cea922afc56e7d686adba063b986013ca9f
Once you have resolved these merge conflicts you can
"Nested" repos are never permitted. Therefore, if you have important code, such as your projects, that belongs in its own repo, be sure to put that code in folders outside of the class repo.
|Instructional Associate||Alex Rowlandemail@example.comfirstname.lastname@example.org|
- Course duration: Tuesday November, 13th 2018 - Tuesday, February 19th, 2018
- Class days & time: Monday - Friday 9:00am-5:00pm (not including after hours)
- Thanksgiving (11/22-11/23)
- Christmas (12/24 - 12/28)
- New Years (12/31 - 1/1)
- MLK day (1/21)
- Presidents Day (2/18)
- Please note that after WDI, there will be 4 or 5 days of additional Outcomes workshops where your career coach will help you prepare for your job search, etc.
GA Immersive Graduation Requirements
General Assembly's courses are pass/fail programs. We have certain requirements in order to be considered a graduate of the WDI program:
- No more than 3 days absent from class over the duration of the course
- Successful completion of five assigned projects
- Pass 2 out of 3 Assessments
- Complete 80% (48) of REPL code challenges
- Participating in GA’s mid-course and end-of-course feedback surveys
When you complete our program with passing status, you unlock our alumni perks:
- Support from the Outcomes Team, including participation in the Meet & Greet event (with prospective employers).
- Receive a GA Letter of Completion (via email 1 week after graduation)
- $250 credit towards GA’s Classes & Workshop for 1 year from your start date (enter code: laimmersives1 at checkout). Please note once you are enrolled, cancellations are not permitted so please make sure you are able to attend the class or workshop prior to applying your code
- 30% off Classes and Workshops after your $250 has expired (enter code: back2school-la at checkout)
- Access to our Alumni Community:
- Interested in being on our alumni committee to plan upcoming networking and social events for GA alumni? Email email@example.com