Replies: 1 comment 4 replies
-
👋 Such a guide would certainly be useful. The manual isn't the best place for it though. I would recommend a blog post, that would cause the most attention in the short run. Later you could add it to the forge wiki. The steps sound right. For (3) you might want to mention the spin-off variant ( |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there — firstly thanks so much for this package!
I've read through the manual and looked at some videos around, but would love to see a step by step guide to using forge to fork a repo, create a feature branch, and submit a pull request. I'd be more than happy to create such a pull request for forge's documentation itself once I'm clear on the choices.
(Let's assume forge has been configured with the necessary creds for GitHub for me 'ldeck').
So here's the steps I think is involved — any suggested clarifications or simplifications would be great to hear.
NB: bold text probably areas to focus on for clarity.
a. M-x magit-clone
b. The mini buffer asks:
Clone from [u]rl or name, [p]ath, or [l]ocal url
c. I chose
u
d. Clone from url or name:
magit/forge
e. Chosen directory:
~/Documents/dev/emacs/magit/forge
f. Set remote.pushDefault to "origin" (y or n): Choose y for now?
g. done
a. 'cf (i.e., forge-fork)
b. Fork to: ldeck
c. Remote name: defaults to 'ldeck' (should I type origin to replace the original origin?)
d. magit shows me
81f4191 origin/master ldeck/master Remove stray character literal
e. done
a. bc (M-x magit-branch-create)
b. Create branch starting at: master
c. Name for new branch: guide-to-creating-pull-requests
d. edit relevant files (presumably forge.org) in this case
e. commit
f. push branch to 'ldeck' -- magit is still defaulting to wanting to push to 'origin', so have to select push to other
a. todo
Beta Was this translation helpful? Give feedback.
All reactions