2017-02-24 4 views
1

강사가 설정 한 강의실에 탭 앱 프로젝트를 위탁했습니다.이오닉 2 및 github

내 마음이 바뀌어 빈 앱으로 시작하고 싶습니다.

이제 두 개의 master 개의 브랜치가 있는데 첫 번째 브랜치를 삭제해야합니다. 내가 그 오류 메시지가 과거를 얻을 수있는 방법

error-- ! [rejected]  master -> master (non-fast-forward) 
error: failed to push some refs to 'https://github.com/xxxxxxxxx/2nd-year-software-ionic-2-assignment-xxxxxxxx.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. 

:
푸시 다음과 같은 오류 메시지가 트리거?

git push --force -u origin master 

로컬 가지고있는 하나 리모트 마스터의 역사를 대체합니다 :

답변

0

당신이 할 필요가 푸시를 강제합니다.