hub-am(1)

okay so bestie, this is hub-am(1) β€” yes, the manual name is right there, welcome πŸ’– it's giving "grab commits from a GitHub pull request and bring 'em home locally" energy. let's get into it.

✨ NAME ✨

hub-am β€” replicate commits from a GitHub pull request locally. periodt πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

hub am [-3] GITHUB-URL

πŸ¦‹ OPTIONS πŸ¦‹

  • -3 β€” (Recommended) See git-am(1). like, the manpage literally says recommended, so yeah bestie, take the hint πŸ’…
  • GITHUB-URL β€” a URL to a pull request or commit on GitHub. that's the whole vibe.

🌸 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-cherry-pick(1), hub(1), git-am(1) β€” the whole hub friend group is right there, go say hi ✨


cute little sign-off: this page is from hub version 2.14.2, dated 07 Jan 2024. slay, bye πŸ’‹

πŸ“¦ where this page comes from