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