각종 팁&정보를 나누는 곳입니다.
누군가에게 도움이 된다 싶으시면 언제라도 포스팅 :)
글 등록하기 | 내글 관리하기 | 연재글 | 보관함
깃허브 오류 해결..
첨부파일 https://imweb.eond.com/webtip/359272

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]> 

코멘트 0
접기/펴기 | 댓글 새로고침
 
 
Total 683 articles in 18 / 57 pages
번호 제목 제목 조회 수 날짜날짜
479 [엑셀] 엑셀 시트간 입력값 비교하는 방법 파일 3185 2014/11/17
478 [윈도우] WindowsUpdate_80070011 오류 해결법 3910 2014/09/03
477 [GitHub] 깃허브(GitHub) 시작하기 (by 이온디) 파일 3860 2014/08/23
476 [GitHub] Git 을 사용해봅시다! (1부) [출처] Git 을 사용해봅시다! (1부) 3510 2014/08/04
475 [GitHub] Git 온라인 저장소 만들기 5441 2014/08/04
474 [GitHub] 처음으로 깃/깃허브 설정하기 3575 2014/08/04
473 [GitHub] 로컬 저장소와 깃허브 저장소 연결하기 3130 2014/08/04
472 [엑셀] 기본 서식 파일 Normal.dotm이(가) 변경되었습니다. 변경 사항을 저장하시겠습니까? [출처] 기본 서식 파일 Normal.dotm이(가) 변경되었습니다. 변경 사항을 저장하시겠습니까?|작성자 키롱 7908 2014/08/03
471 [생활] 도서관용 저소음(무소음) 마우스 만들기 대작전~!!!! [출처] 도서관용 저소음(무소음) 마우스 만들기 대작전~!!!!|작성자 양군 12430 2014/07/16
470 [모바일] 안드로이드 메모 어플 추천 4796 2014/04/30
469 [리더] 리더의 조건 [4] 5258 2014/02/17
468 [윈도우] 윈도우 복원 방법 정리 5418 2014/02/15

해시태그 디렉터리

오늘의 핫게시물