$ git clone -n https://gitee.com/mgb01105731/subversion.git /var/lib/mock/dist-an23.2-build-410888-72746/root/chroot_tmpdir/scmroot/subversion Cloning into '/var/lib/mock/dist-an23.2-build-410888-72746/root/chroot_tmpdir/scmroot/subversion'... $ git fetch origin a23.2:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/subversion * [new branch] a23.2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 59f44ee update to 1.14.5