diff --git a/pkgs/agit/README.md b/pkgs/agit/README.md index d439e912e..38fd950e9 100644 --- a/pkgs/agit/README.md +++ b/pkgs/agit/README.md @@ -42,3 +42,18 @@ Examples: References: - https://docs.gitea.com/usage/agit - https://git-repo.info/en/2020/03/agit-flow-and-git-repo/ + +## How to fetch AGit PR's + +For a hypothetical PR with the number #4077: + +``` +git fetch origin pull/4077/head:your-favorite-name +``` + +Replace `your-favorite-name` with your preferred branch name. + +You can push back to the PR with with: +``` +agit create --topic="The topic of the open PR" +```