diff options
author | 2022-11-20 15:50:11 +0100 | |
---|---|---|
committer | 2022-11-20 15:50:11 +0100 | |
commit | 0490440fe0f32b959866163e3247ebc257214806 (patch) | |
tree | bdfb8d6b93db68275f420b3795a838b2b5d2133e | |
parent | [chore] Little Dockerfile updates (#1071) (diff) | |
download | gotosocial-0490440fe0f32b959866163e3247ebc257214806.tar.xz |
[docs] update forking instructions (#1080)
-rw-r--r-- | CONTRIBUTING.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3620b2cab..bee8f423b 100644 --- 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: > |