-
Notifications
You must be signed in to change notification settings - Fork 246
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
Not heroku installation problems #19
Comments
Okay. This hook helps: http://utsl.gen.nz/git/post-update Maybe you should note this. It is not very obvious. |
You're right, this can be very confusing. The way I do it, which isn't ideal, but works, is to use a canonical repo, such as a github repo, then push my local changes to it, and pull my changes from the server. So something like:
This works pretty good, but of course requires you to ssh into the server. |
The other thing which comes to mind is Gitosis. |
Can't toto use Grit to work with bare repos instead of working directory? |
That's an interesting idea. I have very little experience with Grit, so I can't tell you for sure, but it's worth digging around. |
I think this might be pointed out that if you install on your own server and want to push there from your local machine you have to use a bare git repo on the server. But toto needs a working directory obviously. And you cannot push to a repo with a working directory. So if you use your own server you will have to make all your editing directly on the server or you'll have to #git reset --hard; git checkout -f on the server after any push.
I wonder how does heroko work around this issue? Maybe I can utilize their solution on my own server?
The text was updated successfully, but these errors were encountered: