commit 0490440fe0f32b959866163e3247ebc257214806 parent be3d999c21850425cd5fb573726941e780950370 Author: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sun, 20 Nov 2022 15:50:11 +0100 [docs] update forking instructions (#1080) Diffstat:
M | CONTRIBUTING.md | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md @@ -101,15 +101,15 @@ See [this blog post](https://blog.sgmansfield.com/2016/06/working-with-forks-in- In case this post disappears, here are the steps (slightly modified): > -> Pull the original package from the canonical place with the standard go get command: +> Fork the repository on GitHub or set up whatever other remote git repo you will be using. In this case, I would go to GitHub and fork the repository. > -> `go get github.com/superseriousbusiness/gotosocial` +> Now clone the upstream repo (not the fork): > -> Fork the repository on GitHub or set up whatever other remote git repo you will be using. In this case, I would go to GitHub and fork the repository. +> `mkdir -p ~/go/src/github.com/superseriousbusiness && git clone git@github.com:superseriousbusiness/gotosocial ~/go/src/github.com/superseriousbusiness/gotosocial` > -> Navigate to the top level of the repository on your computer. Note that this might not be the specific package you’re using: +> Navigate to the top level of the upstream repository on your computer: > -> `cd $GOPATH/src/github.com/superseriousbusiness/gotosocial` +> `cd ~/go/src/github.com/superseriousbusiness/gotosocial` > > Rename the current origin remote to upstream: >