GIT -- Updation -- Not Working :(
Added by Deebika Sethuram over 14 years ago
Hello,
I have successfully installed Redmine and integrated with GIT repository also.
Now the problem is GIT Updation. If i make any commits and push to the server, the changes are not seen in redmine repository. I read the instructions and followed everything properly. Also I read the forums, issues and did almost everything which is suggested there but still updation is not working. Somebody PLEASE DO HELP.
GIT version -- 1.6.3.3 and Redmine version -- 0.9.3
The command which i use for GIT automatic updation is ::
cd /path/to/the/bare/git_repository.git && git fetch origin && git reset --soft refs/remotes/origin/master
I have written this command in ::
1. General crontab which is obtained using "crontab -e"
2. The crontab in /etc
3. Post-receive hook
4. Post-update hook
5. Post-commit hook
Nothing works.
But if i type the same command in terminal, it works and i can see the commits in redmine.
PLEASE HELP.
Thanks in advance.
Deebika.