Git doesn't push directory changes
If I make changes to the directories on my development server (e.g. removing a directory, 开发者_Go百科adding a directory, moving files to other directories), those seem to be things it doesn't push to the main server. How can I make it do that anyway? How can I make sure everything stays synchronized?
Use git push
to publish commits and git pull
to get the latest tree from the remote origin. Git is a DVCS with a different workflow as compared to centralized version control systems. See here for an introduction on distributed workflows.
精彩评论