Skip to content

Make Changes and Commit

PROJECT ZERO edited this page Jan 18, 2025 · 1 revision

Make Changes and Commit

Step-by-Step Instructions

  1. Open Terminal: Open your terminal or command prompt.

  2. Navigate to the Repository: Use the cd command to navigate to the directory of your cloned repository.

  3. Make Changes: Make the necessary changes to your codebase using your preferred text editor or IDE.

  4. Stage Changes: Use the git add command to stage the changes you have made. For example:

    git add .
  5. Commit Changes: Use the git commit command to commit the changes with a descriptive message. For example:

    git commit -m "Add new feature to project"
  6. Verify the Commit: Verify that the changes have been committed successfully by using the git log command.

    git log
  7. Push Changes to Fork: Use the git push command to push your changes to your forked repository. For example:

    git push origin new-feature-branch
  8. Open a Pull Request: Open your web browser and navigate to your forked repository on GitHub. Click on the "New pull request" button. Select the branch you want to merge into the main repository and provide a descriptive title and detailed description of the changes you have made. Click on the "Create pull request" button to submit your pull request for review.

TABLE OF CONTENTS

Clone this wiki locally