각종 팁&정보를 나누는 곳입니다.
누군가에게 도움이 된다 싶으시면 언제라도 포스팅 :)
글 등록하기 | 내글 관리하기 | 연재글 | 보관함
깃허브 오류 해결..
첨부파일 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 2 / 57 pages
번호 제목 제목 조회 수 날짜날짜
671 [GitHub] 이미 push된 file .gitignore 적용하기 74 2022/01/01
670 [GitHub] git의 .gitignore 사용방법 파일 111 2021/12/29
669 [jQuery] 텍스트 추출해서 링크 변환하기 130 2021/12/25
668 HTML/CSS 스크롤바 숨기기 없애기 (스크롤 동작) 328 2021/09/01
667 xampp mysql 명령어 터미널에서 실행하는 방법 파일 540 2021/02/05
666 [GitHub] 비밀글 간단한 깃 사용법 13 2021/02/01
665 리눅스 cp 명령어 사용법 정리 (파일, 디렉토리 복사, 백업) 파일 814 2020/12/12
664 [리눅스서버] 리눅스 폴더별압축 디렉토리별 압축 1058 2020/12/12
663 [리눅스서버] 수천 개의 파일이 포함 된 큰 디렉토리를 효율적으로 삭제 64 2020/12/07
662 [윈도우] 윈도우 이 항목을 찾을 수 없습니다 삭제 방법 68 2020/11/29
661 [리눅스서버] 리눅스 디렉토리별 용량 체크하는 방법 114 2020/11/26
660 비밀글 무료환율 api 0 2020/08/18

해시태그 디렉터리

지금 이순간

오늘의 핫게시물