$ git clone -n https://gitee.com/mgb01105731/dareader.git /var/lib/mock/dist-an23-dde-build-378539-71802/root/chroot_tmpdir/scmroot/dareader Cloning into '/var/lib/mock/dist-an23-dde-build-378539-71802/root/chroot_tmpdir/scmroot/dareader'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/dareader * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7655239 get tar from source