Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit02130ba

Browse files
committed
Update README.md
1 parentb4d6d9d commit02130ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ learn-git
2929
##Mini-Project 2: DevMountain Project
3030
* Now what we're going to do is walk through how you would normally treat a project here from DevMountain. First, you'll want to 'fork' this repo. On the top right of this page you should see a button that says 'fork'. What this is going to do is essentially copy all of the code from this repository, but make it as a repo under your account. As you can imagine, you can't push directly to the DevMtn repo because that's not secure. But what you can do is create a fork of this repo, then push to your own fork because it's under your own account.
3131
###Step 2: Clone the Fork
32-
* Once you've forked this repo, you're going to want to clone your forked repository. Go to your freshly forked page and copy the url that's on the side under where it says "HTTPS clone URL". Then, head over to your terminal and type```git clone pasteTheUrlHere```. This takes what's on github, and essentially downloads it so you can now make changes to it on your local computer.
33-
* Once you've cloned your fork, open up your fork in Sublime Text and make a change. Once you've made a change head over to your terminal and type```git status```, you should see that a file has been changed. If you see the file, run through the steps outlined in Mini-Project 1 (status, diff, add, commit, push). Note that when you run```git push origin master``` in this repository origin isalredy pointing to your forked repo since you used```git clone```. Unlike the last step you don't need to tell your computer where to push your code because git already knows.
32+
* Once you've forked this repo, you're going to want to clone your forked repository. Go to your freshly forked page and copy the url that's on the side under where it says "HTTPS clone URL". Then, head over to your terminal and type```git clone pasteTheUrlHere```. This takes what's on github, and essentially downloads it so you can now make changes to it on your local computer.or
33+
* Once you've cloned your fork, open up your fork in Sublime Text and make a change. Once you've made a change head over to your terminal and type```git status```, you should see that a file has been changed. If you see the file, run through the steps outlined in Mini-Project 1 (status, diff, add, commit, push). Note that when you run```git push origin master``` in this repository origin isalready pointing to your forked repo since you used```git clone```. Unlike the last step you don't need to tell your computer where to push your code because git already knows.
3434

3535
##Mini-Project 3: Group Project
3636
* We're essentially going to redo all the same steps we did in Mini-Project 2, but add one more step. Re-clone your fork of this project to your local computer, make a change, add, commit, then push that change. If you go to your forked repo on github you should then see your change.
3737
###Step 2:
3838
* Let's imagine we're working in groups. If we have everyone pushing to one repo without verifying the quality of the code, things can get messy pretty quick. We fixed this solution with things called 'Pull Requests'. Basically you fork a project, make changes to your fork, then you make a pull request back into the original project requesting that some piece of code be added to the original repo. This is how open source projects work.
3939
###Step 3: Make the PR
40-
* Go to your forked repo and click where it says 'Pull Request'. It should show you the file changes you've made and how they differ from theorginal repo. If it does, click on the submit button to submit your pull request.
40+
* Go to your forked repo and click where it says 'Pull Request'. It should show you the file changes you've made and how they differ from theoriginal repo. If it does, click on the submit button to submit your pull request.
4141
* Now, I should see your pull request and I can decide if I want to add that code into the main project or not.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp