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? Quote Link to comment Share on other sites More sharing options...
requinix Posted November 12, 2013 Share Posted November 12, 2013 And your code would be...? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.