Skip to content

MSP-BITS-Pilani/get-started-with-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Introduction to Git/GitHub

This is the repository used for conducting the introductory Git/GitHub session. You can use this repository to make your first open-source contribution.

How to contribute

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.

Get started

  1. 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
  1. Create a new branch and name it anything you like.
$ git checkout -b branch-name
  1. Now, fill in the template and save it as a copy using the naming convention as mentioned above.
  2. Commit and push to your forked repository.
$ git add .
$ git commit -m "added yourname's details"
$ git push origin branch-name
  1. Go to your forked repository on GitHub, create a PR from forked-repo:branch-name to main-repo:master
  2. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages