# Git-commit-and-push-content on live server

**URL:** <https://forum.getkirby.com/t/git-commit-and-push-content-on-live-server/7126>\
**Category:** Questions\
**Tags:** v2\
**Created:** [April 2, 2017, 8:55pm UTC](https://forum.getkirby.com/t/git-commit-and-push-content-on-live-server/7126 "2017-04-02T20:55:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathanhess](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@jonathanhess](https://forum.getkirby.com/u/jonathanhess)\
**Post date:** [April 2, 2017, 8:55pm UTC](https://forum.getkirby.com/t/git-commit-and-push-content-on-live-server/7126/1 "2017-04-02T20:55:11Z")

</div>

I’m doing my first steps with the git-commit-and-push-content plugin. On my local dev environment it works really great and every change gets pushed.  
But as soon as I upload it on my live server, nothing happens. When I push the content in the panel widget the message is:  
`successfully pushed the content folder`  
but nothing is pushed to my github repository.  
When pulling it, it says:  
`error: cannot run fetch: No such file or directory`  
I can ssh my server and there git works just fine. I can see the changes, commit and push them. I had some time finding the right path for my git.  
Now with `php c::set('gcapc-gitBin','~/usr/bin/git');` the panel widget doesn’t output the error `git could not be found or is not working properly. /usr/bin/git`

Is there something I’m missing, or how can I get this to work?

Thanks for every hint or help.

I also tried the plugin “autogit”. But I get the error mentioned in this thread:

> [@Kirby Auto Git Plugin](https://forum.getkirby.com/t/kirby-auto-git-plugin/4648/10):
>
> Senor Borges, this is wonderful! I am having a few problems setting it up on the production server though (works fine locally.) I expect to do with user access to the repository? It’s a private github repository, but I can git via the cmd line, because the server has ssh key. The panel users don’t have their own repository access that matches their name/email, but I don’t think that should matter? current error message when loading panel: Panel Error: Error without a useful message frowningIt ha…

It seems that also the path to my git is not correct, but as I’ve seen in autogit there is no way the change the path?

---

<div class="post-metadata">

**Author:** ![jonathanhess](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@jonathanhess](https://forum.getkirby.com/u/jonathanhess)\
**Post date:** [April 6, 2017, 6:17am UTC](https://forum.getkirby.com/t/git-commit-and-push-content-on-live-server/7126/2 "2017-04-06T06:17:43Z")

</div>

Hi @Pascalmh  
I beg to add you to this thread. Maybe you can help me?  
Thanks in advanced.

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 4:50pm UTC](https://forum.getkirby.com/t/git-commit-and-push-content-on-live-server/7126/3 "2025-02-06T16:50:14Z")

</div>

Archived on February 6, 2025, 4:50pm UTC


