Skip to content

Commit

Permalink
[docs] update forking instructions (#1080)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmethurst committed Nov 20, 2022
1 parent be3d999 commit 0490440
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
>
Expand Down

0 comments on commit 0490440

Please sign in to comment.