Git confusion

chopsywa

New Member
Sep 23, 2024
21
1
3
63
I am a novice with git and I have created a situation that I am hoping is a quick fix. I had an issue with voicemail transcription and when I was trying to figure it out, I went into voicemail_edit.php. I haven't done any changes, but I must have inadvertently saved at some point and now the file is considered changed by git, so upgrades through the UI fail. I am supposed to either git commit, or git stash.

I just want to move on with the stock files. Can someone please tell me how to get the current installation back on track so it updates normally. It is a production PBX.

Cheers
 

chopsywa

New Member
Sep 23, 2024
21
1
3
63
I think I have done this cleanly. From /var/www/fusionpbx/app I ran the following commands.
sudo -u www-data git stash

Ran the upgrade through the UI successfully.

then ran

sudo -u www-data git stash drop stash@{0}