This is the repository used for conducting the introductory Git/GitHub session. You can use this repository to make your first open-source contribution.
You need to add a file called yourname.md
in the teamList
folder. There is already a template.md
file in the teamList which you can use. All you need to do to make your first contribution is to fill in your
details in the template.md
, save it as yourname.md
and create a PR.
- Fork this repository and clone the forked repo to your local machine. When you clone a repository, git automatically makes a new folder within the folder where you ran your clone command. Make sure that you are in the correct working directory by changing into the cloned directory.
$ cd get-started-with-git
- Create a new branch and name it anything you like.
$ git checkout -b branch-name
- Now, fill in the template and save it as a copy using the naming convention as mentioned above.
- Commit and push to your forked repository.
$ git add .
$ git commit -m "added yourname's details"
$ git push origin branch-name
- Go to your forked repository on GitHub, create a PR from
forked-repo:branch-name
tomain-repo:master
- Wait for your PR to get approved and merged by the repository maintainers. It is important that you regularly check the comments/discussions under your PR. In real life scenarios, your PR would not get merged instantly a majority number of times. Maintainers would suggest many changes to your contribution before it is finally merged to the code base.