$ git clone -n https://gitee.com/wenyuzifang/unbound.git /var/lib/mock/dist-an23-build-444624-73188/root/chroot_tmpdir/scmroot/unbound Cloning into '/var/lib/mock/dist-an23-build-444624-73188/root/chroot_tmpdir/scmroot/unbound'... $ git fetch origin 8f7f61841fd12f602093ce5df802642b3f65a9b6:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/unbound * [new ref] 8f7f61841fd12f602093ce5df802642b3f65a9b6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8f7f618 Update code from upstream