Reputation: 2794
I'm using git server on a development environment to essentially be the "ftp" / handler via SSH.
I init'd git on the remote server via bare and pushed from local. Once all settled I removed bare. I then push remote latest batch = accepted.
On the remote server I run git status and see modified files. How can it accept the changes with out having to reset or so?
Upvotes: 1
Views: 146
Reputation: 124824
A better approach:
git pull
on the clone after it receives new commitsWith this setup, you can push revisions to the bare repository, and its clone will update itself. I wrote a blog post on this with more details.
Upvotes: 2