Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document how to keep sources up to date #101

Open
doniks opened this issue Jun 16, 2018 · 0 comments
Open

document how to keep sources up to date #101

doniks opened this issue Jun 16, 2018 · 0 comments

Comments

@doniks
Copy link
Member

doniks commented Jun 16, 2018

Sooner or later one has to update the source tree to get upstream changes.

Everytime I embark about it it becomes a mess. Could some repo/git wizzard please document how to do this properly?

I try usually start with repo sync then I cycle between repo sync --force-sync something/or/another after guessing on some cryptic repo errors. I repeat this until I can't find any cryptic errors anymore. Just now, I did it and it took a good dozen times.

If I have any local work in progress code changes which I am not ready to publish to a public branch it gets a lot more complicated even. Then I get errors like error: Cannot remove project "some/project": uncommitted changes are present. Now starts a fun process of making backups by copying files with local modifications around, or creating other git branches, then deleting changes, until repo sync passes, then even more fun of trying to get my work in progress changes back.

There has to be a sane way to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant