Difference between revisions of "Git push --set-upstream origin master"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
== See also == | == See also == | ||
+ | * {{git push}} | ||
* {{git}} | * {{git}} | ||
[[Category:Git]] | [[Category:Git]] |
Revision as of 14:26, 13 October 2021
git push --set-upstream origin master Enumerating objects: 3, done. Counting objects: 100% (3/3), done. Writing objects: 100% (3/3), 223 bytes | 44.00 KiB/s, done. Total 3 (delta 0), reused 0 (delta 0) To codecommit::us-east-1://your_repo * [new branch] master -> master Branch 'master' set up to track remote branch 'master' from 'origin'.
git push --set-upstream origin main error: src refspec main does not match any error: failed to push some refs to '[email protected]:xxxxx/yyyyy.git'
Related terms
See also
git push
[-v
|--set-upstream | -o | --set-upstream origin master
|-u origin main
|origin master
|-u origin master
|--delete master
|-u | origin HEAD | --dry-run
], Git: upstream,git push --force
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: