gitã®originã®urlãå¤æ´ããã
mirahãæåã«ã¤ã³ã¹ãã¼ã«ããæã«ã
git://github.com/headius/mirah.git
ã®æ¹ããæã£ã¦ãã¦ã¦ããã¨ãã
git://github.com/mirah/mirah.git
ã®æ¹ãææ°ãªãã¨ã«æ°ã¥ãã¦ãå¥ã«ãã®ã¾ã¾æ°ãã«cloneãã¦ããã°ãããã§ããã
originãå¤ãããªãã®ããª?ã¨æã£ãã®ã§ã¡ã¢ã
**追è¨**
@murachue ããããæãã¦ããã ãã¾ãã¦ã
% git remote set-url origin <æ°ãããªãã¸ããªURL>
ãæ®éã¨ã®ãã¨ãæããã«ãã£ã¡ã®ã»ããèªç¶ãªãããã§ãã!
@murachue ãããããã¨ããããã¾ã!!
使ç¨ããæãã¯ä»¥ä¸ã®ã¨ããã§ãã
regina% git remote -v
origin git://github.com/headius/mirah.git (fetch)
origin git://github.com/headius/mirah.git (push)
localhost% git remote set-url origin git://github.com/mirah/mirah.git
localhost% git remote -v
origin git://github.com/mirah/mirah.git (fetch)
origin git://github.com/mirah/mirah.git (push)
localhost%
**追è¨ããã**
ã«ã¼ããã£ã¬ã¯ããªã® ".git/config" ã¨ãããã¡ã¤ã«ã®ä¸ã«
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git://github.com/headius/mirah.git
ã¨ããè¨å®ããã£ã¦ãããã®"url ="以éã®å¤ãæ°ããã¨ããã«æ¸ããªããã°ãããããã
ã®ã§ãããã§ããã°ã³ãã³ãã§ãããããããªã®ã§ãæ¢ãã¦ã¿ãã¨ã
% git config remote.origin.url <æ°ãããªãã¸ããªURL>
ã§ãã£ã¦ããããããããã" < " 㨠" > " ã¯ãããã§ããã
ããããã¡ã
ãããä½æ¥ã§ããªãããã ãã©ã
ãã®åæãã¦ããã ãã" git remote -v"ã¿ãããªçãã³ãã³ãã¯
ã¿ã¤ããã¾ããã§ããããªããããããã ãã©ãªãã