|
6 | 6 | <h1 align="center">Creating first Pull Request 🌟</h1> |
7 | 7 |
|
8 | 8 | --- |
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 | +``` |
12 | 20 | git clone https://github.com/<your-github-username>/Front-End-Projects.git |
13 | 21 | ``` |
14 | 22 |
|
15 | | -3. Navigate to the project directory. |
16 | | -```py |
| 23 | +6. Navigate to the project directory. |
| 24 | +``` |
17 | 25 | cd Front-End-Projects |
18 | 26 | ``` |
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 | +``` |
21 | 45 | git checkout -b <your_branch_name> |
22 | 46 | ``` |
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 | +``` |
27 | 65 | git commit -m "<your_commit_message>" |
28 | 66 | ``` |
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 | +``` |
31 | 70 | git push -u origin <your_branch_name> |
32 | 71 | ``` |
33 | | -8. Create a Pull Request. |
34 | | -9. Congratulations! 🎉 you've made your contribution. |
35 | 72 |
|
| 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. |
36 | 80 |
|
| 81 | +If you have any doubts please let us know in comments. |
37 | 82 |
|
38 | 83 | <h1 align="center">Communication and Support 💬</h1> |
39 | 84 | <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