CMS솔루션마켓, 이온디 - 워드프레스, 라이믹스, 카페24, 그누보드, 엑셀

웹기술을 같이 공유합니다

Home WEB 웹팁

깃허브 오류 해결..

2015년 06월 29일

1) failed to publish this branch

깃헙 윈도우 프로그램에서 Sync를 누르면 위와 같은 메시지 출력.

#failed to publish this branch github windows

Git Shell 에서 git push ..해봐도 안됨..

2) could not resolve proxy

3) GitHub Windows 'Failed to publish this branch' or 'Could not resolve proxy'

http://carryjim811.tistory.com/65


결국 아래와 같이 삽질 후 해결함. 뭐 때문에 해결되었는지는 모르겠음-_-a;


Windows PowerShell

Copyright (C) 2009 Microsoft Corporation. All rights reserved.


E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push

fatal: The current branch master has no upstream branch.

To push the current branch and set the remote as upstream, use


    git push --set-upstream origin master


E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push

fatal: The current branch master has no upstream branch.

To push the current branch and set the remote as upstream, use


    git push --set-upstream origin master


E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push --set--upstream ori

gin master

error: unknown option `set--upstream'

usage: git push [<options>] [<repository> [<refspec>...]]


    -v, --verbose         be more verbose

    -q, --quiet           be more quiet

    --repo <repository>   repository

    --all                 push all refs

    --mirror              mirror all refs

    --delete              delete refs

    --tags                push tags (can't be used with --all or --mirror)

    -n, --dry-run         dry run

    --porcelain           machine-readable output

    -f, --force           force updates

    --force-with-lease[=<refname>:<expect>]

                          require old value of ref to be at this value

    --recurse-submodules[=<check>]

                          control recursive pushing of submodules

    --thin                use thin pack

    --receive-pack <receive-pack>

                          receive pack program

    --exec <receive-pack>

                          receive pack program

    -u, --set-upstream    set upstream for git pull/status

    --progress            force progress reporting

    --prune               prune locally removed refs

    --no-verify           bypass pre-push hook

    --follow-tags         push missing but relevant tags


E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git remote set-url orgin git

@github.com:eondcom/xe-widget-sitemap-eond_hmap.git

fatal: No such remote 'orgin'

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push --set-upstream orig

in master --force

fatal: unable to access 'https://github.com/eondcom/xe-widget-sitemap-eond_hmap.

git/': Could not resolve proxy: %HTTP_PROXY%

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git config --global http.pro

xy http[s]://eondcom:git!0118@proxyaddress:port

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git config --global http.pro

xy http[s]://eondcom:git!0118@proxyaddress

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push

fatal: The current branch master has no upstream branch.

To push the current branch and set the remote as upstream, use


    git push --set-upstream origin master


E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push --set-upstream orig

in master --force

fatal: unable to access 'https://github.com/eondcom/xe-widget-sitemap-eond_hmap.

git/': Could not resolve proxy: proxyaddress

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> $git push

식 또는 문에서 예기치 않은 'push' 토큰입니다.

위치 줄:1 문자:10

+ $git push <<<<

    + CategoryInfo          : ParserError: (push:String) [], ParentContainsErr

   orRecordException

    + FullyQualifiedErrorId : UnexpectedToken


E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push

fatal: The current branch master has no upstream branch.

To push the current branch and set the remote as upstream, use


    git push --set-upstream origin master


E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git pull

fatal: unable to access 'https://github.com/eondcom/xe-widget-sitemap-eond_hmap.

git/': Could not resolve proxy: proxyaddress

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git pull

fatal: unable to access 'https://github.com/eondcom/xe-widget-sitemap-eond_hmap.

git/': Could not resolve proxy: proxyaddress

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git stash

No local changes to save

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push

fatal: The current branch master has no upstream branch.

To push the current branch and set the remote as upstream, use


    git push --set-upstream origin master


E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git status

On branch master

nothing to commit, working directory clean

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git config --global http.pro

xy %HTTP_PROXY%

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push

fatal: The current branch master has no upstream branch.

To push the current branch and set the remote as upstream, use


    git push --set-upstream origin master


E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push --set-upstream orig

in master

fatal: unable to access 'https://github.com/eondcom/xe-widget-sitemap-eond_hmap.

git/': Could not resolve proxy: %HTTP_PROXY%

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push --set-upstream orig

in master --force

fatal: unable to access 'https://github.com/eondcom/xe-widget-sitemap-eond_hmap.

git/': Could not resolve proxy: %HTTP_PROXY%

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push --set-upstream orig

in master

fatal: unable to access 'https://github.com/eondcom/xe-widget-sitemap-eond_hmap.

git/': Could not resolve proxy: %HTTP_PROXY%

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> ! [rejected] master -> maste

r (fetch first)

식 또는 문에서 예기치 않은 'master' 토큰입니다.

위치 줄:1 문자:20

+ ! [rejected] master <<<<  -> master (fetch first)

    + CategoryInfo          : ParserError: (master:String) [], ParentContainsE

   rrorRecordException

    + FullyQualifiedErrorId : UnexpectedToken


E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git pull origin master

fatal: unable to access 'https://github.com/eondcom/xe-widget-sitemap-eond_hmap.

git/': Could not resolve proxy: %HTTP_PROXY%

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git config --global --unset

http.proxy

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push

fatal: The current branch master has no upstream branch.

To push the current branch and set the remote as upstream, use


    git push --set-upstream origin master


E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push --set-upstream orig

in master

To https://github.com/eondcom/xe-widget-sitemap-eond_hmap.git

 ! [rejected]        master -> master (fetch first)

error: failed to push some refs to 'https://github.com/eondcom/xe-widget-sitemap

-eond_hmap.git'

hint: Updates were rejected because the remote contains work that you do

hint: not have locally. This is usually caused by another repository pushing

hint: to the same ref. You may want to first integrate the remote changes

hint: (e.g., 'git pull ...') before pushing again.

hint: See the 'Note about fast-forwards' in 'git push --help' for details.

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git pull

warning: no common commits

remote: Counting objects: 3, done.

remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0

Unpacking objects: 100% (3/3), done.

From https://github.com/eondcom/xe-widget-sitemap-eond_hmap

 * [new branch]      master     -> origin/master

There is no tracking information for the current branch.

Please specify which branch you want to merge with.

See git-pull(1) for details


    git pull <remote> <branch>


If you wish to set tracking information for this branch you can do so with:


    git branch --set-upstream-to=origin/<branch> master


E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git master --set-upstream-to

=orgin/master master

git: 'master' is not a git command. See 'git --help'.

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git branch --set-upstream-to

=origin/master master

Branch master set up to track remote branch master from origin.

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push

To https://github.com/eondcom/xe-widget-sitemap-eond_hmap.git

 ! [rejected]        master -> master (non-fast-forward)

error: failed to push some refs to 'https://github.com/eondcom/xe-widget-sitemap

-eond_hmap.git'

hint: Updates were rejected because the tip of your current branch is behind

hint: its remote counterpart. Integrate the remote changes (e.g.

hint: 'git pull ...') before pushing again.

hint: See the 'Note about fast-forwards' in 'git push --help' for details.

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git pull

Merge made by the 'recursive' strategy.

 README.md | 1 +

 1 file changed, 1 insertion(+)

 create mode 100644 README.md

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> git push

Counting objects: 13, done.

Delta compression using up to 6 threads.

Compressing objects: 100% (12/12), done.

Writing objects: 100% (12/12), 3.01 KiB | 0 bytes/s, done.

Total 12 (delta 2), reused 0 (delta 0)

To https://github.com/eondcom/xe-widget-sitemap-eond_hmap.git

   130bbe3..4798f0e  master -> master

E:\Web\GitHub\xe-widget-sitemap-eond_hmap [master]> 

추천한 사람

 
댓글은 로그인 사용자만 작성 가능합니다. 로그인하기