$ git clone -n https://gitee.com/mgb01105731/lftp.git /var/lib/mock/dist-an23-build-451103-73471/root/chroot_tmpdir/scmroot/lftp Cloning into '/var/lib/mock/dist-an23-build-451103-73471/root/chroot_tmpdir/scmroot/lftp'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/lftp * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 331efb2 Init upstream from 4.9.2