hub-apply(1)

πŸ’… hub-apply πŸ’…

okay so this is the hub manual page for hub-apply, and it's giving "one job, done cute" energy. no cap.


πŸŽ€ NAME πŸŽ€

hub-apply β€” Download a patch from GitHub and apply it locally.

like, it grabs the patch and applies it. that's the vibe. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

hub apply GITHUB-URL

one command, one URL, bestie. iconic. πŸ’…


✨ OPTIONS ✨

  • GITHUB-URL β€” a URL to a pull request or commit on GitHub. that's the whole option list, and yes, she's lowkey perfect 🫢

🌈 EXAMPLES 🌈

here's the exact example, character for character, no edits, no cap:

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

the way this is literally just "get patch, apply patch" πŸ˜­πŸ‘‘


🫢 SEE ALSO 🫢

hub-am(1), hub(1), git-apply(1)

go read those too, bestie, they're in the group chat πŸ’–


that's the whole page, bestie 🫢 β€” it's hub version 2.14.2, dated 07 Jan 2024, and yes, that's the footer info folded into this cute little sign-off πŸ’œ

πŸ“¦ where this page comes from