According to the docs, repo sync
is the equivalent of git fetch
followed by a rebase. So it brings your remote-tracking branches into sync with the actual remote branches, and causes your current branch to be rebased onto the end of the remote tracking branch, but it has no effect on your working tree or the index or wherever the "modified" files are. You would still presumably need to say what you want done with the "modified" files: add-and-commit them, for instance.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…