Neztem ezt a command-ot is, de nem vilagos, ezt gitlab-ban hol futtassam...
git remote add upstream https://gitlab.com/upstream_user_group/project.git || true && git fetch upstream && git checkout main && git pull upstream main && git push origin main
Probaltam a gitaly linken futtatni de ezt kapom:
fatal: this operation must be run in a work tree