For the owner of the repository:
- Fork the repository.:fork_and_knife:
- Clone the repository to your local machine.:computer:
- Create a new branch by typing
git branch your_branch_name
.:herb: - Switch to your new branch by typing
git checkout your_branch_name
.:twisted_rightwards_arrows: - Check the status of your changes by typing
git status
.:mag: - Add your changes by typing
git add .
- Commit your changes by typing
git commit -m "your changes"
.:speech_balloon: - Push your changes to the remote repository by typing
git push origin your_branch_name
.:rocket: - Create a pull request by typing
git pull origin main_branch_name
.:mailbox_with_mail:
💡Tip: You can use
git commit
without the-m
flag to open a text editor where you can write a more detailed commit message.
For contributors:
- Fork the repository and clone it to your local machine.:fork_and_knife::computer:
- Add an upstream link to the main branch in your cloned repository by typing
git remote add upstream https://github.com/Subham-Maity/xamtrack.git
.:link: - Keep your cloned repository up-to-date by pulling from upstream by typing
git pull upstream main
.:arrows_counterclockwise: - Create a new feature branch by typing
git checkout -b <feature-name>
.:herb: - Add your changes by typing
git add .
- Commit all your changes with a meaningful message by typing
git commit -m "Write a meaningful but small commit message"
.:speech_balloon: - Push your changes for review by typing
git push origin <branch-name>
.:rocket: - Create a pull request (PR) on GitHub with a clear message explaining why and what you are contributing.:mailbox_with_mail: