1. 从Git上clone 仓库到本地。
git clone --mirror http://gittest:gittest@192.168.1.x/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