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

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sdaves
Copy link

@sdaves sdaves commented Jan 13, 2014

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.

@greezybacon
Copy link
Collaborator

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

@greezybacon
Copy link
Collaborator

@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?

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

Successfully merging this pull request may close these issues.

2 participants