각종 팁&정보를 나누는 곳입니다.
누군가에게 도움이 된다 싶으시면 언제라도 포스팅 :)
글 등록하기 | 내글 관리하기 | 연재글 | 보관함
깃허브 오류 해결..
첨부파일 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 5 / 57 pages
번호 제목 제목 조회 수 날짜날짜
635 [미디어/녹음·재생] 동영상 WMV 인코딩 방법 9422 2007/09/04
634 [생활] 고등학교 졸업증명서 인터넷으로 출력가능합니다(공인인증서 필요!!!!).~~ 18823 2007/09/10
633 [네트워크] FON FAQ [1] 8319 2007/09/12
632 [기타] 네이버 카페 자료 백업을 위한 프로그램 - 까네 2.0 (GPL 라이센스 버전) 파일 12009 2007/09/17
631 네이버 오픈API 책검색 6784 2007/09/17
630 [웹로그] Play Street 에 참여할 의사가 있으신지요? 5964 2007/10/02
629 구글 어플리케이션으로 자신이 소유한 도메인의 메일주소 사용하기 6097 2007/10/03
628 [브라우저] 파이어폭스 팁입니다. 12590 2007/10/04
627 [하드웨어] AMD 939소켓 사용하시는 분 계신가요? 7016 2007/10/04
626 개인도메인 활용하기 (작성 중) 5396 2007/10/05
625 [하드웨어] 컴퓨터 고장 뭐가 문제일까요? 7095 2007/10/05
624 [하드웨어] 아버지 컴퓨터 사양 7888 2007/10/07

해시태그 디렉터리

지금 이순간

오늘의 핫게시물