$ git clone -n https://gitee.com/wenyuzifang/cups-pk-helper.git /var/lib/mock/dist-an23-build-464745-73881/root/chroot_tmpdir/scmroot/cups-pk-helper Cloning into '/var/lib/mock/dist-an23-build-464745-73881/root/chroot_tmpdir/scmroot/cups-pk-helper'... $ git fetch origin 9f0ce2f48d781aa43433f091341e5aa1185f7890:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/cups-pk-helper * [new ref] 9f0ce2f48d781aa43433f091341e5aa1185f7890 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9f0ce2f Update code from upstream