Usually you need change the remote target of your repository when you download a template project, the url of remote target are change or something like that...
In this post we take the example of vscode-stories-api, because all need stories in ours apps or not?
What is origin
Origin is only one aliases for remote repository url, like environment variable in your OS.
What is the remote origin of repository
Get remote origin
$ git remote -v
Remove remote origin
$ git remote remove origin
Verify origin
$ git remote -v
Add remote origin
$ git remote add origin [repository url]
Verify the new origin
$ git remote -v
Conclusion
Now our origin repository it's the repository of vs-code-stories extension new owner!
Top comments (0)