Difference between revisions of "Git remote add"
Jump to navigation
Jump to search
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{lowercase}} | {{lowercase}} | ||
+ | * https://git-scm.com/docs/git-remote | ||
* <code>[[git remote]] add</code> | * <code>[[git remote]] add</code> | ||
− | + | [[git remote add]] [[origin]] git@gitserver.com:/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 == | == Related terms == | ||
* <code>[[git init]]</code> | * <code>[[git init]]</code> | ||
+ | * <code>[[git remote -v]]</code> | ||
+ | * <code>[[git config --list]]</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: