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