$ git clone -n https://gitee.com/ydjohn/livepatch-mgr_spec.git /var/lib/mock/dist-an23-build-303247-66036/root/chroot_tmpdir/scmroot/livepatch-mgr_spec Cloning into '/var/lib/mock/dist-an23-build-303247-66036/root/chroot_tmpdir/scmroot/livepatch-mgr_spec'... $ git fetch origin 1c75f2198b60cb250cafe78561aa080748a0389a:KOJI_FETCH_HEAD From https://gitee.com/ydjohn/livepatch-mgr_spec * [new ref] 1c75f2198b60cb250cafe78561aa080748a0389a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1c75f21 remove patfix of /usr/bin/livepatch-mgr