OSSéçºåå¼·ä¼-09
ä»æ¥ã®åå¼·ä¼ã§èª¬æããå 容ã®ã¡ã¢
GitHubãªããã使ã£ã¦ãä½ãå¥ã®OSSããã¸ã§ã¯ãï¼gitã§ç®¡çããã¦ããï¼ã®
æ´¾çãã¼ã¸ã§ã³ãä½ãããã¤ããªãªã¸ãã«ã®æ´æ°ã«è¿½å¾ããæ¹æ³ã
ãªãªã¸ãã«ã®Gitãªãã¸ããªã®URLã git://github.com/kaigai/my_oss.git ã¨ãã
ãã®ãªãã¸ããªã«å¯¾ããã³ããã権ã¯ç¡ããã®ã¨ããã
èªåã®æ´¾çãã¼ã¸ã§ã³ã®Gitãªãã¸ããªã®URLã ssh://[email protected]/kaigai/modified.git ã¨ããã
èªåã¯ãã®ãªãã¸ããªã®ææè
ã§ããã®ã§ã³ããã権ããããã®ã¨ããã
- æé ï¼ï¼ãªãã¸ããªã® clone
% git clone ssh://[email protected]/kaigai/modified.git
- æé ï¼ï¼ãªãªã¸ãã«ã®ãªãã¸ããªããªã¢ã¼ãã«è¿½å
% git remote add upstream git://github.com/kaigai/my_oss.git
- æé ï¼ï¼ãªãªã¸ãã«ã® master ããã©ããã³ã°ãããã©ã³ãã®ä½æ
% git checkout --track upstream/master -b develop
ããã§ã¯ develop ã¨ãããã©ã³ããä½æããåæã«ããã®ãã©ã³ãã upstream ãªãã¸ããªã® master ãã©ã³ãããã©ããã³ã°ï¼è¿½è·¡ï¼ããããã«è¨å®ãã¦ããã
ããã«ããããªãªã¸ãã«å´ã§æ°ããªãããã commit ãããå ´åã«ã¯ãgit pull ã§ãªãªã¸ãã«ã®ä¿®æ£ããã¼ã¸ãããã¨ãã§ããããã«ãªãã
- æé ï¼ï¼ãªãªã¸ãã«å´ã®æ´æ°ããã¼ã¸
% git pull [--rebase]
- æé ï¼ï¼origin ã®ãªã¢ã¼ããªãã¸ããªã«ç»é²
% git push origin develop
ãã®æä½ã«ãããdevelopãã©ã³ãã«å ããå ¨ã¦ã®ä¿®æ£ãoriginã®ãªã¢ã¼ããã©ã³ãã«å ããããäºã«ãªããä»ã®å©ç¨è ã«ã visible ã¨ãªãã
gitã®å ´åããã¼ã«ã«ç°å¢ã§ commit ãã¦ããpushããªãéããã®ä¿®æ£ã¯ãã¼ã«ã«ã®ã³ãã¼ï¼git cloneããï¼ã«çã¾ããã¨ã«çæã
ãã®è¾ºã® git ã®æ©è½ã使ãã°ãé常ã«æ¥½ã«æ´¾çãã¼ã¸ã§ã³ã並è¡ã«éçºãããã¨ãã§ããã
SE-PostgreSQLã®ããã«ããã¼ã¸ã¾ã§ã«é常ã«é·ãæéãããã£ã¦
ããå ´åã§ããæ¬å®¶ã®è¿½å¾ã容æã«è¡ããã¨ãã§ããã