Skip to content
This repository was archived by the owner on Dec 2, 2017. It is now read-only.

Commit acb6a33

Browse files
bkcsoftlunny
authored andcommitted
Keep upstream remote (#15)
One should keep upstream remote for fetching upstream/master
1 parent 5328bf1 commit acb6a33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/doc/advanced/hacking-on-gitea.en-us.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ cd $GOPATH/src/code.gitea.io/gitea
3131
To be able to create pull requests you should add your forked repository as a remote to the Gitea sources, otherwise you can not apply the changes to our repository because of lacking write permissions:
3232

3333
```
34-
git remote set-url origin [email protected]:<USERNAME>/gitea.git
34+
git remote rename origin upstream
35+
git remote add origin [email protected]:<USERNAME>/gitea.git
3536
git fetch --all --prune
3637
```
3738

0 commit comments

Comments
 (0)