$ git clone -n https://gitee.com/newstart-gdlc/nde-customization.git /var/lib/mock/dist-an8.9-nde-build-447014-73015/root/chroot_tmpdir/scmroot/nde-customization Cloning into '/var/lib/mock/dist-an8.9-nde-build-447014-73015/root/chroot_tmpdir/scmroot/nde-customization'... $ git fetch origin 8da428e76a31a28cf8b105d41eee628066f37ccb:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/nde-customization * [new ref] 8da428e76a31a28cf8b105d41eee628066f37ccb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8da428e add nde-customization