$ git clone -n https://gitee.com/fundawang/cryptsetup.git /var/lib/mock/dist-an23-build-351654-70932/root/chroot_tmpdir/scmroot/cryptsetup Cloning into '/var/lib/mock/dist-an23-build-351654-70932/root/chroot_tmpdir/scmroot/cryptsetup'... $ git fetch origin 341268f79b28faf9049649040c75681884dbe759:KOJI_FETCH_HEAD From https://gitee.com/fundawang/cryptsetup * [new ref] 341268f79b28faf9049649040c75681884dbe759 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 341268f 2.7.0