code migrate

1. 从Git上clone 仓库到本地。

git clone --mirror http://gittest:[email protected]/x.git

2. push 到codecommit

git push ssh://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/x --all
git push ssh://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/x --tags

猜你喜欢

转载自www.cnblogs.com/divl/p/10655444.html