bitpocket icon indicating copy to clipboard operation
bitpocket copied to clipboard

Allow specifying only a push and only a pull from a remote server.

Open sdaves opened this issue 11 years ago • 2 comments

This allows a user to pull from a remote server, check for changes, commit them to git, and then push. Check out the demo I included to see how I am using it for my servers. I use this to enable my clients to make changes on the live server, and then I pull them down and commit them before I push my latest code to the server.

sdaves avatar Jan 13 '14 07:01 sdaves

I don't understand the usage of git in your demo. Are you using bitpocket to sync git repos?

greezybacon avatar Aug 24 '17 01:08 greezybacon

@sdaves I could rebase your edits and add support for a pull-only sync; however, the current logic for the push is that it must be done after the pull. So I think that implementing a push-only sync could allow for accidental data loss.

Would it work to do a pull, git-merge, git-commit, then full sync?

greezybacon avatar Feb 12 '18 17:02 greezybacon