각종 팁&정보를 나누는 곳입니다.
누군가에게 도움이 된다 싶으시면 언제라도 포스팅 :)
글 등록하기 | 내글 관리하기 | 연재글 | 보관함
깃허브 오류 해결..
첨부파일 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 31 / 57 pages
번호 제목 제목 조회 수 날짜날짜
323 [기타] 이클립스 Failed to crate the java machine 해결 방법 질문입니다. [1] 6447 2013/11/11
322 [웹로그] 테터툴즈 및 티스토리 도움말 링크 페이지 6513 2006/05/31
321 [웹로그] 환율, 좀 올라주면 안되겠니? [1] 6527 2007/11/07
320 [웹로그] DB 백업&복원 6533 2010/08/17
319 [기본] 웹페이지 동영상 주소 알아내기 파일 6547 2007/11/25
318 디퓨젼 디더(Diffusion Dither) 사용을 이해하기 6559 2007/11/25
317 [웹로그] Daum 캘린더, 이런 기능 어떨까? [2] 6607 2007/11/20
316 [하드웨어] 고장난 컴퓨터 6625 2007/10/08
315 [하드웨어] 업어온 아버지의 PC 파일 6700 2007/10/07
314 [웹로그] 카스퍼스키 무료로 사용하기 6769 2007/10/23
313 네이버 오픈API 책검색 6784 2007/09/17
312 [웹로그] 내가 사용하는 프로그램 6789 2009/09/11

해시태그 디렉터리

오늘의 핫게시물