david419 Posted November 12, 2013 Share Posted November 12, 2013 I am trying to execute git commands through exec() in php file. The php file is run in my localhost and i am trying to mainly execute these three commands:- cd change_to_git_directory git add * git commit -m hfwejfk git push but these commands are not getting executed as no changes are there in my git repository. So, what to do? Link to comment https://forums.phpfreaks.com/topic/283833-executing-git-commands-through-exec/ Share on other sites More sharing options...
requinix Posted November 12, 2013 Share Posted November 12, 2013 And your code would be...? Link to comment https://forums.phpfreaks.com/topic/283833-executing-git-commands-through-exec/#findComment-1457986 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.