PRãåºããã¦ã¼ã¶ã¼ã®ãã©ã³ãã«pushããæ¹æ³
ä¹
ãã¶ãã«PRåºãã人ã®ãã©ã³ã使ããã¨æã£ããå¿ãã¦ãã¾ã£ãã®ã§ã¡ã¢ã
ä¾ãã°ãPRãinactiveã«ãªãã¨ãrebaseããã¨ããã¡ãã§ä¿®æ£å
¥ãã¦ãã¾ãæã¨ãã«è¡ãã¾ãã
cloneãã
ããã¯ããã©ãããã®ã§èªåã¯ãããªãã§ãã
remoteãç»é²ãã
# ç¸æå ãèªåã®ãã¼ã«ã«ã«ç»é² $ git remote add reviewee url # urlã¯ç¸æå ã®url # ãã¼ã«ã«ã®ç¶æ ãæ´æ° $ git fetch reviewee # remote-prã¯ç¸æã®PRã®ãã©ã³ãå, èªåã®ãã¼ã«ã«ã®ãã©ã³ãåã¯ãªãã§ããã $ git checkout reviewee/remote-pr -b local-pr # ãã©ã³ããå¤ãå ´åã¯ãmasterããrebaseãã $ git rebase master local-pr # or $ git pull --rebase origin master # ç¸æã®ãã©ã³ãã«push $ git push -f reviewee local-pr # or $ git push -f reviewee remote-pr + f4e919b...a3b06dc local-pr-> remote-pr (forced update)
ä¸è¨ãå®è¡ããã¨ãPRã«åæ ããã¾ãã
ããã¯ããã®ãªãã¸ããªã®write権éãããã¡ã³ãããªãã§ãã¾ãã