---
name: "hub-am"
section: "1"
platform: "linux"
package: "hub"
version: "2.14.2-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/hub-am"
---

# hub-am(1)

Replicate commits from a GitHub pull request locally.

## NAME

hub-am - Replicate commits from a GitHub pull request locally.

## SYNOPSIS

`hub am` \[-3\] *GITHUB-URL*

## OPTIONS

- \-3

  (Recommended) See [git-am(1)](/git-am/1.md).

*GITHUB-URL*

A URL to a pull request or commit on GitHub.

## EXAMPLES

```
$ hub am -3 https://github.com/jingweno/gh/pull/55
> curl https://github.com/jingweno/gh/pull/55.patch -o /tmp/55.patch
> git am -3 /tmp/55.patch
```

## SEE ALSO

[hub-apply(1)](/hub-apply/1.md), [hub-cherry-pick(1)](/hub-cherry-pick/1.md), [hub(1)](/hub/1.md), [git-am(1)](/git-am/1.md)
