Commands help you manage remotes:
add:
git remote add project git://github.com/user/project.git
This will create "project" pointing to git://githun.com/user/project.git
rename:
git remote rename project test
This renames "project" to "test" in a remote and it's remote-tracking branches
rm:
git remote rm project
This deletes "project" remote and any remote-tracking branches we've fetched.
change url:
git remote set-url example git://github.com/user/test.git
This sets the URL of the remote named "example" to git://github.com/user/test.git
沒有留言:
張貼留言