$ git clone -n https://gitee.com/wency_cn/tuna.git /var/lib/mock/dist-an23-build-503651-74854/root/chroot_tmpdir/scmroot/tuna Cloning into '/var/lib/mock/dist-an23-build-503651-74854/root/chroot_tmpdir/scmroot/tuna'... $ git fetch origin f16efa46506074184342df3244c3951648c78ab9:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/tuna * [new ref] f16efa46506074184342df3244c3951648c78ab9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f16efa4 Update code from upstream