How to Manually Update a GIT Application

by

in

This procedure should be used when a program that was installed using GIT fails to update. No need to run the commands as root.

1. Change directory to the folder where the program is installed:
cd /home/myapp

2. Remove staged and working directory changes:
git reset --hard

3. Update the program:
git pull

4. All done!


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *