Let's make a simple contribution to this repository.
Let me show you how easy it is:
Fork this repository by clicking on the fork button on the top of this page. This will create a copy of this repository in your account.
Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the clone button and then click the copy to clipboard icon.
Now let's bring the cloned repository to your local machine.
git clone <url-you-just-copied>
For example:
git clone https://github.com/CodeMacrocosm/startup.git
Since you want to change the files inside, first let's move to the folder correctly. Use the following command on terminal:
cd startup
Since now you're about to make your personal changes to the project, it's always a better idea to make a new branch. Run the following command:
git checkout -b <feat-add-yourname>
For example:
git checkout -b feat-add-5hre9a
Check out the CONTRIBUTE.md file to see what all contributions can you make.
It's finally that time when you commit your changes and leave a beautiful commit message behind. You can run the following commands:
git add .
git commit -m "<Your Message>"
For example:
git commit -m "Added 5hre9a's Story"
Finally, push your changes to Github:
To do so run the following command:
git push origin <your-branch-name>
For example:
git push origin feat-add-5hre9a
If you go to your repository on GitHub, you'll see a Compare & pull request button. Click on that button. Now submit the pull request. Leave a custom message if you want.
There seems to be a lot of hype. Contributing to Open Source can be a highly satisfying experience, especially for new developers out there who have just started with their journey.
How will this work:
You get your PR's done and contribute to a cool repository by sharing your stories and struggles and helping others in their journey.
Happy Coding. Hope you all get your cool swags :)