Skip to content

Commit 8ba1a30

Browse files
committed
Update Readme
1 parent fd02ef8 commit 8ba1a30

1 file changed

Lines changed: 60 additions & 15 deletions

File tree

CONTRIBUTING.md

Lines changed: 60 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,79 @@
66
<h1 align="center">Creating first Pull Request 🌟</h1>
77

88
---
9-
1. Fork this repository.
10-
2. Clone the forked repository.
11-
```css
9+
1. Create a folder at you desired location (usually at your desktop).
10+
11+
2. Open Git Bash Here.
12+
13+
3. Create a Git Repository.
14+
Run the command ```git init```
15+
16+
4. Fork the [repository](https://github.com/TusharKesarwani/Front-End-Projects.git).
17+
18+
5. Clone your forked repository of project.
19+
```
1220
git clone https://github.com/<your-github-username>/Front-End-Projects.git
1321
```
1422

15-
3. Navigate to the project directory.
16-
```py
23+
6. Navigate to the project directory.
24+
```
1725
cd Front-End-Projects
1826
```
19-
4. Create a new branch.
20-
```css
27+
28+
7. Add a reference(remote) to the original repository.
29+
```
30+
git remote add upstream https://github.com/TusharKesarwani/Front-End-Projects.git
31+
```
32+
33+
8. Check the remotes for this repository.
34+
```
35+
git remote -v
36+
```
37+
38+
9. Always take a pull from the upstream repository to your main branch to keep it updated as per the main repository.
39+
```
40+
git pull upstream main
41+
```
42+
43+
8. Create a new branch.
44+
```
2145
git checkout -b <your_branch_name>
2246
```
23-
5. Make changes.
24-
6. Stage your changes and commit
25-
```css
26-
git add .
47+
48+
9. Perform your desired changes to the code base.
49+
50+
10. Check your changes
51+
```
52+
git staus
53+
```
54+
```
55+
git diff
56+
```
57+
58+
11. Stage your changes
59+
```
60+
git add . <\files_that_you made_changes>
61+
```
62+
63+
12. Commit your changes.
64+
```
2765
git commit -m "<your_commit_message>"
2866
```
29-
7. Push your local commits to the remote repo.
30-
```css
67+
68+
13. Push the committed changes in your feature branch to your remote repository.
69+
```
3170
git push -u origin <your_branch_name>
3271
```
33-
8. Create a Pull Request.
34-
9. Congratulations! 🎉 you've made your contribution.
3572

73+
14. To create a Pull Request, click on ```compare and pull requests```.
74+
75+
15. Add an appropriate title and description to your PR explaining your changes.
76+
77+
18. Click on ```create pull request```.
78+
79+
Congratulations🎉, you have made a PR to the Front-End Projects. Wait for your submission to be accepted and your PR to be merged by a maintainer.
3680

81+
If you have any doubts please let us know in comments.
3782

3883
<h1 align="center">Communication and Support 💬</h1>
3984
<p align="center">Join the project's communication channels to interact with other contributors and seek assistance.</br>If you have any questions or need help, don't hesitate to ask in the project's communication channels or comment on the relevant issue.</p>

0 commit comments

Comments
 (0)