$ git clone -n https://gitee.com/fundawang/gdcm.git /var/lib/mock/dist-an23-epao-build-375683-71674/root/chroot_tmpdir/scmroot/gdcm Cloning into '/var/lib/mock/dist-an23-epao-build-375683-71674/root/chroot_tmpdir/scmroot/gdcm'... $ git fetch origin 63998501689ea9e9199302e68d33c86fe188bcd0:KOJI_FETCH_HEAD From https://gitee.com/fundawang/gdcm * [new ref] 63998501689ea9e9199302e68d33c86fe188bcd0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6399850 3.0.23