짧은 이야기를하기 위해 지난 몇 개월 동안 웹 앱을 사용해 왔습니다. 최근에 나는 내 응용 프로그램에 대한 변경 사항을 적용하고 응용 프로그램의 루트 디렉토리에 git push -u
을 사용하려고하지만 할 때마다 ... 새로운 노트북을 얻을 수 있었다 나의 새로운 기계에 GitHub의에서 저장소를 복제 나는 다음과 같은 메시지가 얻을 :Github 실패한 푸시
To [email protected]:acc/etc.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to '[email protected]:acc/etc.git' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details.
을
하지만 내가 시도 할 때 git pull [email protected]:acc/etc.git master
풀을 당했다는 메시지가 나타납니다.
From github.com:acc/etc * branch master -> FETCH_HEAD error: Your local changes to the following files would be overwritten by merge: config/routes.rb test/fixtures/users.yml Please, commit your changes or stash them before you can merge. Aborting
는 그럼 난 내 변화가 git commit -m 'fixing'
을 사용하고 다시 git pull
을 시도 커밋합니다.
내가 완전히이 특정 저장소와 나사 오전에 "자동 병합 충돌을"있다고 주장? git는 여전히 나에게 새로운 것이기 때문에 무엇을해야할지 모르겠다. ...