Skip to content

A basic repo for newbies to learn about GitHub contribution

Notifications You must be signed in to change notification settings

CodeYacht/first-contribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

first-contribution

Translations

You can read and follow this tutorial in other languages as well. Click here to know more about translated versions.

How to Contribute?

  1. Fork the project:
  • Click the gray Fork button at the top right of this page. This creates your copy of the project and saves it as a new repository in your GitHub account
  1. Create a New Branch:
  • On your new repository's page, click the gray main button in the upper left to reveal a dropdown menu.
  • Enter the name of your new branch in the text box. (Branch names usually refer to what is being changed. Example: nameAdd). -Click on Create branch , which will automatically take you to your new branch. You can make edits on the main branch, but this may cause issues down the line. The best practice is to create a new branch for each separate issue you work on. That way your main branch remains in sync with Organisation's main branch.
  1. Edit:
  • Now go to the Contributors directory and click on Add file button and in the drop down menu select Create new file.
  • Name the file as <your-github-username>.md and fill up deatails as the example shown below:
Name: [Your Name](https://github.com/<your_github_username>)

[Twitter](https://twitter.com/username) | [GitHub](https://github.com/username) | [LinkedIn](https://linkedin.com/in/username)

Description: <Anything you Like>.
  • You can look at This Profile as an example
  • Scroll down and add a commit message as added <your-github-username>.md and click on the green button saying "Commit Changes". Make sure you have selected the branch you have created.
  1. Raise a Pull Request:
  • Click Pull Requests (which is the third option at the top of this page after the options Code and Issues).
  • Click the green New Pull Request button.
  • Click on your head repository's compare dropdown, and switch branches from your 'main' branch to <new-branch-name>.
  • Finally, click the green Create Pull Request button. Great job! You did it!

If you feel stuck, You can look for your query on the discussions page or ask questions by raising an issue.

Thanks to all the contributors ❤️

About

A basic repo for newbies to learn about GitHub contribution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published