Skip to content

Commit 4413810

Browse files
authored
Update CONTRIBUTING.md
more syntax
1 parent 352a2dd commit 4413810

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

week-1/CONTRIBUTING.md

+7-9
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ https://chris.beams.io/posts/git-commit/
4848
##Standard Procedure:
4949

5050
1. Initialise your repo on Github (skip if cloning an existing repo), ensuring you initialise with a Readme.MD file.
51+
5152
2. Copy the URL of your repo from Gitub, and clone onto your local machine from the terminal, like so:
5253
- In your command line, go to the directory you want the repo to be in.
5354

@@ -72,13 +73,12 @@ https://chris.beams.io/posts/git-commit/
7273
5. After making changes to files whilst working, you should add and commit.
7374

7475
`$ git add filename.filetype
75-
$ git commit -m "commit message here"`
76-
77-
This saves the current states of your files into the git repo, meaning you can access them exactly as they are now, at any point in the future.
78-
79-
6. These are now saved to your branch, but only on your local computer, they now need to be pushed to the remote repo on Github.
76+
$ git commit -m "commit message here"`
77+
78+
This saves the current states of your files into the git repo, meaning you can access them exactly as they are now, at any point in the future.
8079

81-
However, before you do these, you want to make sure your branch is up to date with any changes to the master branch.
80+
6. These are now saved to your branch, but only on your local computer, they now need to be pushed to the remote repo on Github.
81+
However, before you do these, you want to make sure your branch is up to date with any changes to the master branch.
8282

8383
7. So, first checkout to master branch
8484

@@ -94,9 +94,7 @@ However, before you do these, you want to make sure your branch is up to date wi
9494

9595
10. Then you need to *merge* the new master on your local machine with your branch.
9696

97-
`$ git merge master`
98-
99-
This merges the branch you are one with your local master branch.
97+
`$ git merge master` This merges the branch you are one with your local master branch.
10098

10199
11. You can then push your branch to the remote, save in the knowledge that is up to date with the current remote master, which means when you make a pull request it should merge a lot easier.
102100

0 commit comments

Comments
 (0)