$ git clone -n https://gitee.com/yangcheng1203/guestfs-tools.git /var/lib/mock/dist-an23.3-build-451509-73480/root/chroot_tmpdir/scmroot/guestfs-tools Cloning into '/var/lib/mock/dist-an23.3-build-451509-73480/root/chroot_tmpdir/scmroot/guestfs-tools'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/yangcheng1203/guestfs-tools * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d397bc5 Init package from upstream