git-loom 0.25.0

A Git CLI tool that weaves together multiple feature branches into integration branches
# Pushing for Review

Your `feature-auth` branch is ready. Push it to the remote:

```bash
$ git loom push fa
```

git-loom detects your remote type automatically and runs the appropriate commands:

- **GitHub** — pushes the branch, then checks if a PR exists. If a PR already exists, prints its URL (`PR updated: https://...`). Otherwise creates a PR via the [`gh` CLI]https://cli.github.com/ with a title and description auto-generated from the branch's commits.
- **Azure DevOps** — pushes the branch, then checks if a PR exists. If a PR already exists, prints its URL. Otherwise creates a PR via the [`az` CLI]https://learn.microsoft.com/en-us/cli/azure/ with a title and description auto-generated from the branch's commits.
- **Gerrit** — pushes to `refs/for/<target>` (where `<target>` is your upstream branch, e.g. `main` or `master`). Review URLs from the Gerrit remote are displayed after the push.
- **Plain Git** — pushes with `--force-with-lease`.

If `gh` or `az` are not installed, the push still succeeds — you just won't get the automatic PR creation.

If `feature-auth` is stacked on another branch in the same repository, the lower branch is pushed with it and each PR targets the branch below. GitHub links the PRs into a [stack](https://docs.github.com/en/pull-requests/get-started/about-stacked-prs). Fork PRs instead target upstream and are not linked; see [Stacked Branches](../commands/push.md#stacked-branches).

If you just want to push without creating a PR (e.g. to back up your work):

```bash
$ git loom push fa --no-pr
```

When you omit the branch argument, git-loom shows an interactive picker:

```bash
$ git loom push
# ? Select branch to push
# > feature-auth
#   feature-dashboard
```

See also: [push reference](../commands/push.md)