You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,13 @@ learn-git
6
6
* The last mini-project you'll be mimicking the steps you'll take when it's group project perioid. You'll fork your groups repo, link your computer with your fork, push changes to your github, then make a 'Pull Request' into your groups repo.
7
7
8
8
##Mini-Project 1: Personal Project
9
-
###Step 1:
9
+
###Step 1: Create a Repository on Github
10
+
* Let's jump ahead a month or two and pretend like we just got to personal project periods. Because you're not an idiot, you're going to be pushing your code up to github frequently. In order to do that, you first need to create a repository on github to push to. Head over to your github account then in the top right hand corner click the '+' button and click 'new repository'. Enter the name of your repository then click 'Create Repository'. This repository is where your code for this project will now live.
11
+
###Step 2: Set up the Upstream
12
+
* Once you create your repository, you'll need to connect that repository with your code on your computer.
13
+
* Create a folder called 'myProject' then inside that folder create a file called 'myName.js'. Add your name to that file and then save it.
14
+
* Now in your terminal navigate to your 'myProject' folder. Once inside that folder, type```git init```. You've just told your computer that you want git to watch the 'myProject' folder and keep track of any changes - basically making it so you can now run git commands inside of this folder.
15
+
* Now that you've initialzied your 'myProject' folder, we need to tell your computer where the location of your github repository is. To do this you create what is called an 'upstream'.