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
{{ message }}
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: NEWCOMERS.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# GIT CONTRIBUTION FLOW
2
-
To make changes to a repository, follow these steps;
2
+
To make changes to a repository, follow these steps:
3
3
4
-
# Fork The Repository
5
-
- On the top right, click on the fork button, a copy of the repository would be created on your github account, this would take few seconds to get completed.
6
-
- Once this is done, click on the green clone drop-down by the top left and copy the url you see, you would use this later.
4
+
##Fork The Repository
5
+
- On the top right, click on the fork button. A copy of the repository would be created on your github account - this will take few seconds
6
+
- Once this is done, click on the green clone drop-down by the top left and copy the url you see. You will use this later
7
7
8
-
# Clone your fork to your local machine
8
+
##Clone your fork to your local machine
9
9
This simply means getting a copy of the repository on your personal computer.
10
10
On your computer terminal, cd into the directory you want to clone the repo to.
11
11
```
@@ -16,13 +16,13 @@ now, enter this,
16
16
git clone "paste the url you copied here"
17
17
```
18
18
19
-
# Create a Branch
20
-
To work on a new feature or fix a bug, it's important that you create a new branch. this keeps your changes seperate from the master branch for easy management of multiple pull requests for each completed task.
21
-
Enter this
19
+
##Create a Branch
20
+
To work on a new feature or fix a bug, it's important that you create a new branch. This keeps your changes seperate from the master branch for easy management of multiple pull requests for each completed task.
21
+
Enter this,
22
22
```
23
23
git checkout master
24
24
```
25
-
Create a branch with a name
25
+
Create a branch with a name of your choice,
26
26
```
27
27
git branch "your-branch-name"
28
28
```
@@ -32,26 +32,26 @@ git branch "your-branch-name"
32
32
git checkout "your-branch-name"
33
33
```
34
34
35
-
Now you can go ahead and affect the desired changes.
35
+
Now you can go ahead and affect the desired changes
36
36
37
-
## Submitting your changes (a Pull Request)
38
-
on your terminal, Enter this to check the modified files
37
+
## Pushing your changes
38
+
Enter this to check the modified files on your terminal,
39
39
```
40
40
git status
41
41
```
42
42
To add the changes,
43
43
```
44
44
git add .
45
45
```
46
-
Commit your changes
46
+
Commit your changes,
47
47
```
48
48
git commit -m "Add-a-commit-message-here"
49
49
```
50
50
Now, you can push your changes to the branch you created
51
51
```
52
52
git push origin "your-branch-name"
53
53
```
54
-
#Submitting
54
+
## Submission - A Pull Request (PR)
55
55
Once you've committed and pushed all of your changes to GitHub, reload the page for your fork on GitHub, select your branch, and click the green compare and pull request button by the top right, add a description and the number for the issue your pull request and submit.
0 commit comments