-
Firstly, install git.
-
This will create a copy of this repository in your account.
Fork this repository.
-
This will create a copy of this repository in your local machine. Now You are ready to make changes as per your issue.
git clone https://github.com/SubhamKarmakar24/snake.git
-
git remote add upstream https://github.com/SubhamKarmakar24/snake.git
-
This will also avoid any merge conflicts while committing new changes
git pull upstream main
-
Always create new branch
git checkout -b <feature-name>
-
git add .
-
git status
-
Write commit message as "Small Message"
git commit -m "Write a meaningfull but small commit message"
-
git push origin <branch-name>
-
Just hit the create a pull request button, you must write a PR message to clarify why and what are you contributing