????git??push????????????????
???????????? ???????[ 2016/2/16 17:43:38 ] ???????????ù???
????????д??????????????????????????????github??coding????????????????????????????git push????????????????????????????????git push??push?????????????????д??sh????????????????????????????????????????????????????????????????????????????
??????????????????????????????????? git ???????? push ???????????
???????ù???????????????????趨??? remote?????д??? alias?????磺
????$ git config alias.pushall "!git push origin && git push dev"
???????????????汾??????????汾??????????Git ???????????????????????? remote ?????? pushurl???????????????????????????? remote "dev"??????? remote "origin"?????????
????git remote set-url --add --push origin git@gitlab.com:root/XXX.git
?????????????? remote "origin" ??????????μ????
????[remote "origin"]
????url = git@github.com:SegmentFault/XXX.git
????fetch = +refs/heads/*:refs/remotes/origin/*
????pushurl = git@github.com:SegmentFault/XXX.git
????pushurl = git@gitlab.com:root/XXX.git
???????????????????? git push origin ???????????? repos ???
???????????????????и??????ó???????????ɡ?
?????????????????????????????????????????????????д???set-url??治?????"--"
???????????
????git remote --set-url --add --push origin git@gitlab.com:root/XXX.git
????????????????????????????и?????
?????????????????????
???????????????????£????????????
????1?????????????push???????git remote add???????????????????????????????bucket
????git remote add bucket git@git.coding.net:xxxxx
????2???????????set-url?????????????????????????
????git remote set-url --add --push bucket git@gitlab.com:root/XXX.git
?????????git remote -v ??????????????????????????????
????bucket git@git.coding.net:xxxxx (fetch)
????bucket git@git.coding.net:xxxxx (push)
????bucket git@gitlab.com:root/XXX.git (push)
???????????????????????push????bucket????????git???????????????push???????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11