$ git clone -n https://gitee.com/wenyuzifang/itstool.git /var/lib/mock/dist-an23-build-480582-74252/root/chroot_tmpdir/scmroot/itstool Cloning into '/var/lib/mock/dist-an23-build-480582-74252/root/chroot_tmpdir/scmroot/itstool'... $ git fetch origin 8f86874f309acfc7650f885e1f65bd72b870444a:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/itstool * [new ref] 8f86874f309acfc7650f885e1f65bd72b870444a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8f86874 Update code from upstream