Python / Odoo Developer

Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

GIT Miscellaneous

Avatar
Administrator

Git Hard Reset

git fetch --all
git reset --hard origin/branch_name
git pull origin branch_name

Clone last commit

git clone --depth=1 <remote_repo_url>

Replace existing GIT URL link

git remote set-url origin https://github.com/USERNAME/REPOSITORY.git

Replace file with head revision

git checkout -- addons/machines_4_0/scripts/opc_communication.py


Avatar
Abbandona