git - Remote repository isn't up to date -


when try push changes remote bare repository git says it's date use 'post-receive' hook loads files directory can doesn't it's date. can find out what's wrong?

my code post-receive hook:

#!/bin/sh git_work_tree=/var/www/empirik/data/www/mywebsite git checkout -f 

try

1) sure have correct file permission.

2) git add /path/your_files git commit -m "changes" git push origin master ( check in correct repo git branch )


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -