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