- For contributing in this repository start by creating a folder with it's name as your github username.
- Add your markdown code in a file named README.md which should be contained in folder created above.
-
Click on Fork button on top right corner of main repository.
-
Select your account if a popup appears asking where to fork ( occurs in case you are member of any organization).
-
After that navigate to forked repository, URL will be like
https://github.com/<your_github_username>/Profile.md/tree/main
. -
Now, click on green button labelled as CODE.
-
Now choose either SSL or Github CLI to clone this forked repository ( HTTPS method is soon going to be deprecated ). For more information click on Learn More in popup.
-
Now Paste this command in your Terminal/Powershell. This will clone forked Repository on your local system.
-
Now make desired changes.
-
Add changes to staging area and commit them with meaningful commit message. ( For More information on Pull Request refer to this video by Official Hactoberfest Team).
-
After commiting the changes, MAKE SURE TO UPDATE YOUR REMOTE REPOSITORY WITH UPSTREAM).
-
You can do this by clicking on Fetch and Merge Button.
-
Now if this button was enabled ( in my case it is disbled as it is up to date with upstream) click and it will merge changes from upstream to remote repository.
-
Now, you need to fetch these changes, go to command line and rebase your remote branch with local one.
git fetch origin main
git rebase -i origin/main
A prompt will appear press colon and write
wq
in vim editor. This is will save your messsage. -
Now, once branch is rebased and up to date push to remote using
git push origin main
-
Now navigate to your forked repository on github and click on contribute button.
and click on OPEN PULL REQUEST button.
-
Add Pull Request title and description and open pull request.