私が最初に問題を再確認して、正しく理解していることを確認します。
サーバーには、インストールが実行されている必要があります(存在する場合)。 githubにインストールファイルがあります。
新しいインストールでは、githubからクローンを作成し、/www/inc/config.inc.phpファイルと/ www/imagesフォルダを変更します。
更新を実行すると、それらの更新をgithubにプッシュし、それらの更新をgithubからさまざまなサーバーにプルしますが、ローカルの変更をマージまたは上書きしないようにします。
シナリオが正しくない場合は、ご意見ください。上記を想定し
は、ここでは、正しいこれを達成するためのアプローチである:あなたが最初にローカルサーバーへのレポのクローンを作成する場合
は、ローカルの変更を行う前にブランチを作成します。作成したブランチには常にローカルリポジトリを保持します。
#clone the repo
git clone git://github.com/you/yourproject.git
#create and checkout a local working branch
git checkout -b workingBranch
#make your changes to configs and other directories freely
...
#when you're done, add and commit those changes
git add .
git commit
あなたはこれが一時的にmasterブランチからの最新のコミットを取得し、あなたのブランチで行った変更をロールバックします
#checkout the master branch
git checkout master
#pull to get the latest code
git pull origin master
#checkout the workingBranch again
git checkout workingBranch
#rebase to get the new changes on that branch
git rebase master
にローカルマシンに引っ張っする更新プログラムを持っています、新しい変更の上にコミットを "再生"します。