Hacker News new | ask | show | jobs
by resc1440 4149 days ago
Git push gained the ability to change the remote working directory - but only if that copy of the repo has been set up to allow it.
1 comments

I didn't know there was such a thing as a 'remote working directory', so clearly I am confused!
There are a couple of scenarios I can think of to help it make more sense:

1) You're pushing to a remote server which has a checkout of the working copy as the live version of something, e.g. a webapp.

2) You're pushing to a co-workers repository to allow them to see updates (though probably a less likely scenario)