-
- Fork the repository
-
- Create a new branch
-
- Make your changes
-
- Commit your changes
-
- Push your changes
-
- Create a pull request
-
- Fork the repository remotely
-
- Clone the repository locally by running:
git clone https://github.com/<your-github-username>/Git-Cheatsheet.git
- Clone the repository locally by running:
-
- Navigate to the repository by running:
cd Git-Cheatsheet
- Navigate to the repository by running:
-
- Create a new branch by running:
git checkout -b <branch-name>
- Create a new branch by running:
-
- Make your changes locally
-
- Add your changes by running:
git add .
- Add your changes by running:
-
- Commit your changes by running:
git commit -sm "<commit-message>"
- Commit your changes by running:
-
- Push your changes by running:
git push origin <branch-name>
- Push your changes by running:
-
- Create a Pull Request!