Contains codes written by all the core members
- Switch to your directory on your system.
cd /home/hsharsh/coding/cp
- Add all the changes to the staging area.
git add .
- Commit all the changes.
git commit -m "Update"
- Create a new branch named cp/your-username.
git checkout -b cp/hsharsh
- Add a remote to Infero's Competitive-Programming repo.
git remote add infero https://github.com/InferoIITH/Competitive-Programming.git
- Push your branch (cp/your-username) to Infero's repo.
git push infero cp/hsharsh
- Inititalize a new repo.
mkdir cp && cd cp
git init
- Add all your code to this repo and add the changes to the staging area.
git add .
- Commit all the changes.
git commit -m "Initial commit"
- Create a new branch named cp/your-username.
git checkout -b cp/hsharsh
- Add a remote to Infero's Competitive-Programming repo.
git remote add infero https://github.com/InferoIITH/Competitive-Programming.git
- Push your branch (cp/your-username) to Infero's repo.
git push infero cp/hsharsh