RickyP Posted October 25, 2016 Share Posted October 25, 2016 Hello, This is rather a question. Would anyone know if there's a way (and how) or even something already created to manage git from in-game server. Ex: Adding an ACL group with privileges to manage git (simply so you can 'git pull' from in-game if you have proper access). And if we go into more complex, could it be any possible to even merge branches, pull, reverting, etc. Thanks Link to comment
Noki Posted November 7, 2016 Share Posted November 7, 2016 You can write a .sh script with all the git commands in them ('git pull', etc). From there, I guess you could create a server-side module that executes .sh scripts. I'm not entirely sure this is 100% possible though. Link to comment
tosfera Posted December 13, 2016 Share Posted December 13, 2016 Thinking about it, yes. This is fairly simple if you're hosting on a linux server. Simply create a php scripts or even an API for your own server which uses exec to run linux commands, create different calls to either commit, merge, pull, or do what ever you want. simply execute these linux based commands and you're fine. On a windows server this'll be a lot harder, even impossible I guess. You'll have to go to great lengths to achieve that Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now