$ git clone -n https://gitee.com/mgb01105731/vsftpd.git /var/lib/mock/dist-an23-build-274006-64217/root/chroot_tmpdir/scmroot/vsftpd Cloning into '/var/lib/mock/dist-an23-build-274006-64217/root/chroot_tmpdir/scmroot/vsftpd'... $ git fetch origin 26861c7519bb141345c1e942e0d6be8534227b11:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/vsftpd * [new ref] 26861c7519bb141345c1e942e0d6be8534227b11 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 26861c7 init upstream from version 3.0.5