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