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
Post a Comment