以从github导入coding.net为例:
#1、克隆库 git clone https://github.com/antirez/redis.git --bare #2、上传 cd redis.git git push https://git.coding.net/jiong/redis.git --all #3、推送全部标签 git push https://git.coding.net/jiong/redis.git --tags
Learn and share.
以从github导入coding.net为例:
#1、克隆库 git clone https://github.com/antirez/redis.git --bare #2、上传 cd redis.git git push https://git.coding.net/jiong/redis.git --all #3、推送全部标签 git push https://git.coding.net/jiong/redis.git --tags