$ git clone -n https://gitee.com/wenyuzifang/ksh.git /var/lib/mock/dist-an23-build-480693-74252/root/chroot_tmpdir/scmroot/ksh Cloning into '/var/lib/mock/dist-an23-build-480693-74252/root/chroot_tmpdir/scmroot/ksh'... $ git fetch origin 5663aa940e700a7faf65821faa6e0058b64fbf34:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/ksh * [new ref] 5663aa940e700a7faf65821faa6e0058b64fbf34 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5663aa9 Update code from upstream