$ git clone -n https://gitee.com/mgb01105731/dracut.git /var/lib/mock/dist-an23-build-552511-88923/root/chroot_tmpdir/scmroot/dracut Cloning into '/var/lib/mock/dist-an23-build-552511-88923/root/chroot_tmpdir/scmroot/dracut'... $ git fetch origin a3849f49e81297fd3a0eaa5440b886c33925db8b:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/dracut * [new ref] a3849f49e81297fd3a0eaa5440b886c33925db8b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a3849f4 fix warning of grep