$ git clone -n https://gitee.com/wenyuzifang/mtr.git /var/lib/mock/dist-an23-build-482778-74272/root/chroot_tmpdir/scmroot/mtr Cloning into '/var/lib/mock/dist-an23-build-482778-74272/root/chroot_tmpdir/scmroot/mtr'... $ git fetch origin 5defb39a951e679a43aa233be564274e5d7c2e6b:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/mtr * [new ref] 5defb39a951e679a43aa233be564274e5d7c2e6b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5defb39 Update code from upstream