version control - Git pull/clone gets new commits, but doesn't apply to working site files -


i have git versioning , development environment setup so:

  • local.mydomain.com (local development)
  • dev.mydomain.com (production testing)
  • stage.mydomain.com (acceptance testing)
  • mydomain.com (production environment)

my git repo setup on remote server /srv/repo/mydomain.git bare repo.

my local repo has been:

  • git init(ed)
  • git clone(d) remote repository (git clone user@domain:/repo/path/)

when want make changes code, make them on local development git repository. when changes completed run following:

  • git add .
  • git commit -a
  • git push origin master

for production & acceptance testing, git pull origin master either dev or stage repo so:

  • git pull origin master

it should noted code changes pushed local repo.

now have problem. have made whole lot of changes code in local repository..

  • done git add .
  • done git commit -a
  • done git push origin master
  • done git status, date

then on stage repo, have tried:

  • git pull origin master , git clone origin master

it seems none of changes applied files.

when git status on local, dev or stage repos get, "# on branch master nothing commit, working directory clean". when "git log" on local, bare , stage repos see commits have done.

could me figure out why when pull origin master, changes applied repo, not working site files?

quite new git , appreciated!


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -