Useful Git commands
A couple Git commands that were useful when deploying apps to a server via Git
Stash local changes:
git stash
Pull changes:
git pull
Pop stash:
git stash pop
Discard all changes permanently:
git reset --hard
A couple Git commands that were useful when deploying apps to a server via Git
Stash local changes:
git stash
Pull changes:
git pull
Pop stash:
git stash pop
Discard all changes permanently:
git reset --hard