如何更改 git 仓库的所有者?
How to change git repo's owner?
我使用 root
用户 init
、add
和 commit
git 回购。 (坏习惯)
现在,我创建一个新的普通用户 me
.
如何让 me
处理 root
所做的回购?
在存储库文件夹中使用 sudo chown user:user . -R
更改所有者。
我使用 root
用户 init
、add
和 commit
git 回购。 (坏习惯)
现在,我创建一个新的普通用户 me
.
如何让 me
处理 root
所做的回购?
在存储库文件夹中使用 sudo chown user:user . -R
更改所有者。