Skip to content

Formatted CONTRIBUTING.MD #1020

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Install Git:
*Are you a first time user and just beginning with Open-Source projects? No problem! Here's [how you can install Git on your computer](https://www.digitalocean.com/community/tutorials/how-to-contribute-to-open-source-getting-started-with-git)*
###### After you are done installing Git on your computer:
1. Fork this repository on Github.
2. Clone it onto your computer by opening terminal and running the command $ git clone https ://github.com/{your username}/ACM-ICPC-Algorithms.git
3. Use the actual name of the repository to change into that directory (eg. *$ cd repository*) and create and switch to a new branch by the following command: $ git checkout -b new-branch
4. After modifying existing files or adding new files to the project, add them locally to your repository using $ git add -A command where A is the file
5. Add a short message about what you contributed for with the git commit command. For eg. $ git commit -m "Fixed documentation typos"
6. Now use the command $ git push --set-upstream origin new-branch to push the changes to the current branch of your forked repository
2. Clone it onto your computer by opening terminal and running the command ```git clone https://github.com/{your username}/ACM-ICPC-Algorithms.git```
3. Use the actual name of the repository to change into that directory (eg. ```cd repository```) and create and switch to a new branch by the following command: ```git checkout -b new-branch```
4. After modifying existing files or adding new files to the project, add them locally to your repository using ```git add -A``` command where A is the file
5. Add a short message about what you contributed for with the git commit command. For eg. ```git commit -m "Fixed documentation typos"```
6. Now use the command ```git push --set-upstream origin new-branch``` to push the changes to the current branch of your forked repository
7. Now you can create a Pull Request with the chosen branch as new-branch