Difference between revisions of "Git remote add"
Jump to navigation
Jump to search
(3 intermediate revisions by one other user not shown) | |||
Line 8: | Line 8: | ||
Review: [[.git/config]] | Review: [[.git/config]] | ||
− | git remote add origin your_URL | + | [[git remote add origin]] your_URL |
[[error: remote origin already exists.]] | [[error: remote origin already exists.]] | ||
+ | |||
+ | Solution: [[git remote rm origin]] | ||
+ | [[git config --list]] | ||
== Related terms == | == Related terms == | ||
Line 16: | Line 19: | ||
* <code>[[git config --list]]</code> | * <code>[[git config --list]]</code> | ||
* <code>[[git push]]</code>, <code>[[git push --set-upstream origin master]]</code> | * <code>[[git push]]</code>, <code>[[git push --set-upstream origin master]]</code> | ||
+ | * <code>[[git clone]]</code> | ||
== See also == | == See also == |
Latest revision as of 16:34, 8 May 2023
git remote add
git remote add origin [email protected]:/username/project.git (no output) Review: .git/config
git remote add origin your_URL error: remote origin already exists. Solution: git remote rm origin git config --list
Related terms[edit]
See also[edit]
git
: [config | init | status ]
,git add
,git rm
,git commit
,git push, git pull
,.gitconfig
,.gitignore
,git
(clone
,fetch
,pull
),git tag
,git log
,git blame
, Merge Request, LFS,git branch
,git apply
,git rebase
,git diff
,git diff-tree
,git config --global
,remote | submodule | request-pull
,GIT_TRACE, GIT_CURL_VERBOSE
,clean
,main
,git show-ref
,git reset
,git prune
,git ls-remote origin
,git checkout
,git switch
,pathspec
,git credential-osxkeychain
,git version
,pre-commit
,git --help
, GitBook,refs/
Advertising: