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

Commit 8b60b29

Browse files
bkcsoftlunny
authored andcommitted
update chinese hacking-guide (#16)
1 parent acb6a33 commit 8b60b29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/doc/advanced/hacking-on-gitea.zh-cn.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
要创建 pull requests 你还需要在源码中新增一个 remote 指向你 Fork 的地址,直接推送到 origin 的话会告诉你没有写权限:
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)