If you want to contribute to the official website of Cryptocrats, follow the steps:
First of all, fork this repository using the top right button, marked as 'fork'. This will create a copy of this repository in your account.
Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the clone button and then click the copy to clipboard icon.
Open a terminal or git bash and run the following git command:
git clone https://github.com/[your-username]/Cryptocrats.git/
Change to the repository directory on your computer (if you are not already there):
cd Cryptocrats
Now create a new branch using git checkout
command:
git checkout -b [name-of-new-branch]
- For example
git checkout -b devansh
Now make the changes you want to make for the website. Once you've made all the changes, open terminal or git bash and execute the command git status
, you'll see there are changes. If you're a beginner, just add your name and github username to contributors.md
file.
Add those changes to the branch you just created using the git add
command:
git add .
Now commit those changes using the git commit
command:
git commit -m "[your-name] made changes"
Push your changes using the command git push
:
git push origin <you-branch-name>
- For example
git push origin devansh
If you go to your repository on GitHub, you'll see a Compare & pull request
button. Click on that button.
Now submit the pull request.
Soon I'll be seeing the changes and if I think they're needed, I'll merge these changes to the master branch. You will recieve an email notification once the pull request has been merged.