Different versions between local and remote git repo - how to syncronize again? -


i have post-update hook this:

#!/bin/sh echo echo “**** pulling changes dev [hub’s post-update hook]” echo case “ $1 ” in *‘refs/heads/dev’*) cd /home/user/www/dev/ || exit unset git_dir git pull hub dev echo echo “dev pulled” echo ;; esac 

git telling me local , remote date, aren't. local more recent version remote.

when git pull get:

already up-to-date.

when git status on remote get:

on branch dev nothing commit (working directory clean)

(previously, when doing git status on remote i've seen file (.htaccess one) not added, remotely did, git add . , git commit -a -m "added htaccess remotely", did git pull locally, still get: up-to-date.)

i've tried change locally (in hope pushed specific change , other changes done) - no luck.

can me repos synchronized again ?

git remote -v 

hub ssh://user@site.org/home/user/private/repos/site_hub.git (fetch)

hub ssh://user@site.org/home/user/private/repos/site_hub.git (push)

hub bare repo.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -