I upgraded my angular ssr project from v16 to v17:
- I renamed the v16 project directory “my-project-v16”,
- created a new v17 ssr project
ng new my-project --ssr --no-standalone
(with previous v16 name “my-project”), - installed dependencies,
- copied relevant source and assets,
- did relevant modifications manually within the config-files etc.
With creation in point 2, there comes new local repository. How to point the new local repo to the old remote repo, so I can push new commits from there?
What I want to do is (from my v17 project directory):
git add .
git commit -m "my old new v17 project"
git push origin master
To achieve this goal, do I have to figure out where my remote repo is located
$ git remote -v
origin https://github.com/user/my-project.git (fetch)
origin https://github.com/user/my-project.git (push)
and then point the new local repo to the remote repo
$ git remote set-url origin ssh://git@https://github.com/user/my-project.git
?