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