Git: pulling to production (deployment) manually

  • by

Many deployment systems are usefull, but what about manual updates?

init the repo and clone into production

then when you need to pull a new update?
– perhaps you have tested some fix on production and need to overwrite everything with permanent fix?

git fetch
git reset --hard HEAD
git merge '@{u}'


Leave a Reply