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