how to properly use git with network disk drives
This question already has an answer here:
you can view your git remotes by using
$ git remote -v
This will output something like this:
origin git@host:user/repo.git (fetch)
origin git@host:user/repo.git (push)
You can change this remote by deleting it, then recreating it with your proper remote
$ git remote rm origin
$ git remote add origin git@myhost:user/repo.git
Or more simply
$ git remote set-url origin git@myhost:user/repo.git
链接地址: http://www.djcxy.com/p/4620.html
上一篇: Git推送需要用户名和密码
下一篇: 如何正确使用网络磁盘驱动器的git