Skip to content

Repo for beginner contributors to learn and make PRs

Notifications You must be signed in to change notification settings

LokeshYarramallu/hacktoberfest-2022

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hacktoberfest

Hello Hacker !!

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!

Make your first PR!

  1. Fork this repository to your account by clicking the Fork button on this repo.

image

  1. You now have this repo in your github account. You must be able to see it in github.com/your-github-username/hacktoberfest-2022

  2. 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.

  3. Open Google-Colaboratory in your browser and open a New Notebook.

image

  1. Click on Connect image

  2. 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: image

  3. Enter your name, and take the screenshot of the output image

  4. 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>

image

  1. 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://avatars.githubusercontent.com/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. 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:

  • Login to your Github account and click on the profile icon which appears at the left most side of the page. image
  • Then right click on the big avatar which appears at the left side of the screen.

image

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>

  1. After doing all these, save the file and close the editor.

  2. 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
  1. You are almost done! Now head over to the original repository from which you forked and click on Pull Requests image

  2. From here, I'll leave you on your own. Make a stunning PR using this flashy green button image

  3. 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!!

About

Repo for beginner contributors to learn and make PRs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published