I've a tricky problem in my project. I have an application runs on VDS. I installed this application with git and composer. This project have git repository just like local one.
I'm trying to make an auto updater bot.This bot is going to get last commit/tag from gitlab and fetch it.
I can use nodejs or php cron job to do.
But git pull
command asks for my username and password.
I cant install php_expect extension. Tried this yuloh/expect
library but it didn't catch username input.
So here is my question:
How and which method should i implement for run this git pull
command and pass username and password?