Browse Source

add README.md

master
zhaohe 4 years ago
parent
commit
487de2c747
  1. 7
      README.md
  2. 4
      import_project.sh

7
README.md

@ -0,0 +1,7 @@
#Usage
```
1. 创建好新工程的git地址
2. 执行下面指令
./import_project.sh 原先git地址 目标git地址
```

4
import_project.sh

@ -1,9 +1,9 @@
############################################################
#原工程地址
SRC_GIT=git@192.168.1.3:OutsourcingProject/DisinfectionBox.git
SRC_GIT=$1
#目标工程地址
DES_URL=zwsd@192.168.1.3:DisinfectionBox/DisinfectionBox.git
DES_URL=$2
############################################################
git clone --mirror ${SRC_GIT} ./transdir.git

Loading…
Cancel
Save