Welcome to Hacktoberfest 2022! Begin your Open Source Journey as a contributor by learning to make Pull Requests to a repository. What better place than here to do the same!
- Fork this repository to your account by clicking the Fork button on this repo.
-
You now have this repo in your github account. You must be able to see it in
github.com/your-github-username/hacktoberfest-2022
-
Go ahead and clone this repository from your account to your PC. At this point, make sure you have Git installed in your PC. Refer this documentation from git for instructions. By using the command
git clone https://github.com/<your-github-username>/hacktoberfest-2022
you can clone the repository. Now, you will find this repository/folder in your PC. -
Open Google-Colaboratory in your browser and open a New Notebook.
-
In the new notebook,
- Copy
!pip install pyfiglet import pyfiglet as pf name=input('\n\n\nEnter your name: ') f = pf.figlet_format(name, font = "slant") print(f)
and paste it in the code cell. Click on the run button to execute the code to get the output as follows:
-
Now, save this screenshot in the Contributors/Screenshot folder , in the repository cloned in Step-3. Make sure to rename the screenshot with your name. For example:
screenshot_<your-name>
-
Open the Contributors folder README.md using your favourite text editor and follow the following steps:
- Copy
<tr> <td align="center"><a href="https://github.com/vishalj0501"><img src="https://github.com/avatars/u/92500255?s=40&v=4" width="100px;" alt=""/><br /><sub><b>Vishal</b></sub></a><br /></td> <td align="center"><img src="Screenshot/screenshot_vishal.png"></td> </tr>
and paste it in a newline just after the arrow shown in the below image.
and then change the
href
link with your GitHub account link, the First img src link with your avatar link and name with your actual name. To get avatar link follow these steps: - Copy
- Login to your Github account and click on the profile icon which appears at the left most side of the page.
- Then right click on the big avatar which appears at the left side of the screen.
Cool! You have copied the avatar link now you have to just paste it in place of the first img src link.
and then the Second img src - the path of the screenshot which in the Screenshot folder: Screenshot/<screenshot_your-name>
-
After doing all these, save the file and close the editor.
-
Now commit your changes by following the below steps
- Open terminal/command prompt inside the cloned folder
- Run
git add .
to stage the file for committing. - Let's commit! Run
git commit -m "Your commit message"
Get creative with your commit message. You can follow the below format"[your name]: Add me as contributor"
- Now let's get these changes to your GitHub repo. Run
git push origin main
-
You are almost done! Now head over to the original repository from which you forked and click on Pull Requests
-
From here, I'll leave you on your own. Make a stunning PR using this flashy green button
-
Google will be your best friend in case you get stuck at any point from now. Now go ahead and make your first cool PR!!