This repository is made for beginners to get started with git contribution
git push origin branch_name (it will push your code from the local branch to the master branch) e.g git push origin devsg ( it will push branch devsg( local branch) to original repo's master branch , henceforth creating a PR)
To contribute to this repository, first fork the repository (you can see this in the right-hand column).This will create a local version of the repository in your GitHub account.
git clone https://github.com/user_name/Beginner-Repo
where user_name is your GitHub handle name e.g - https://github.com/pydevsg/Beginner-Repo
cd Beginner-Repo
Change from master branch to your local_branch
git checkout -b local_branch
where local_branch is your local branch name and is user defined from your Git Bash.
Add your name in the Contributor.md file as given in the Contributors format
git add Contributor.md
git commit -m "comment"
where comment is user defined and it can be anything meaningful from your side. e.g - git commit -m " Added my name"
git push origin local_branch
where local_branch is your local branch name and is user defined from your Git Bash.
This will help you in making your first PR.