#!/bin/bash
echo "start copy ** to ***"
BASE_HOME=$(cd $(dirname $0);pwd) //获取当前路径
BUILD_SCRIPT_DIR=${BASE_HOME}/framework/base/core/ //目标路径
echo "open"
cd ${BUILD_SCRIPT_DIR}
git checkout XXXXXXXXX //操作命令
echo "end"
#!/bin/bash
echo "start copy ** to ***"
BASE_HOME=$(cd $(dirname $0);pwd) //获取当前路径
BUILD_SCRIPT_DIR=${BASE_HOME}/framework/base/core/ //目标路径
echo "open"
cd ${BUILD_SCRIPT_DIR}
git checkout XXXXXXXXX //操作命令
echo "end"