The following are the recommended steps to make a contribution:
- Fork this repo on github. Now you will have a repo of this name(campus-chat-client) in your github account.
- Clone the repo from you github account:
git clone https://github.com/your-user-name/campus-chat-client.git
cd campus-chat-client
npm install
- Check that the app works.
- Add the sdc repo as a remote
git remote add upstream https://github.com/sdciitmandi/campus-chat-client.git
- Make all your changes in a new branch, with the branch name chosen according to the changes you are making.
- Push your changes to the repo in your github account.
git push origin branch-name
- Go to your github account , and open this repo, you will see an option to send a pull request.
- Now , keep on working on your local repo. If you want to bring your local repo uptodate with the sdc one , run
git pull upstream master