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

How to deal with synchronisations over floobit that have to be synced to a git repo remotely #175

Open
CMCDragonkai opened this issue Apr 18, 2014 · 1 comment

Comments

@CMCDragonkai
Copy link

Imagine:

User A repo
User B repo
Remote repo

Both user A and user B commit and push to Remote repo

Now floobits seems to exchange changes between User A and User B independent of the Remote repo.

Now who commits and pushes the final changes to the Remote repo?

What's a good workflow to this? I'm thinking it could easily result in merge conflicts...

@btipling
Copy link
Contributor

What we do is one person commits, the other cleans their workspace and pulls. Who that person is is up to you. Floobits doesn't currently know about any VC system and will stomp over your files when you join (unless you choose to overwrite the files in the workspace, which will stomp over everyone else's files connected to the workspace). So be sure you've committed any unsaved changes before you join.

My process after being in a workspace where someone in the workspace else committed our work:

git stash -u
git pull
git stash pop

Sometimes I may just want to git reset --hard and git clean -f depending on what I do next.

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

2 participants