dothebest0927 avatar

How to Git Error - Failed to Push Some Refs to ~ (Remote : GitLAB / GUI TOOL : Sourcetree)

dothebest0927

Published: 15 May 2019 › Updated: 15 May 2019How to Git Error - Failed to Push Some Refs to ~ (Remote : GitLAB / GUI TOOL : Sourcetree)

How to Git Error - Failed to Push Some Refs to ~ (Remote : GitLAB / GUI TOOL : Sourcetree)

[Git Error] Failed to Push Some Refs to 'Git 원격 저장소' (origin)

상황 : Push 권한이 있는 user가 소스코드 변동사항이 있는 origin을 Pull하지 않고, 소스코드 변동사항이 있는 코드를 수정해서 Push할때 생기는 Error

해결 방법 :
1 step. Git 원격 저장소(origin)에서 소스코드 변동사항이 있는 코드를 Pull

  • git pull origin 'your-branch'

2 step. Pull 후에 다시 Push하면 정상적으로 작동

  • git push origin 'your-branch'

steemit_git_refs.png

Leave How to Git Error - Failed to Push Some Refs to ~ (Remote : GitLAB / GUI TOOL : Sourcetree) to:

Written by

Read more #git posts


Best Posts From dothebest0927

We have not curated any of dothebest0927's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From dothebest0927