Skip to content

Create and edit content

Aine Riordan edited this page Aug 21, 2023 · 1 revision

Create and edit content

To submit an update:

  1. Fetch the latest changes.

    -----
    $ git fetch upstream
    -----
  2. Check out a branch from upstream/main

$ git checkout -b <new-branch> upstream/main
  1. Make your edits.

    Add or edit files as needed.
  2. Stage the changes for each file.

 $ git add <file-name>
  1. Commit the changes.

    -----
      $ git commit -m "<descriptive-commit-message>"
    -----
  2. Push the changes to your forked repository.

$ git push origin HEAD
  1. Open a pull request.

    Typically the previous command gives the URL to open a pull request. If not, you can open one from the link:https://github.com/ansible/aap-docs/pulls[Pull requests] tab of the GitHub UI.

After you submit a pull request, it will be reviewed by members of this project.

Clone this wiki locally