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