0
밤마다 내 저장소에있는 git 지점에 문제가 있습니다. 나는 분기하는 git push
려고 할 때 오류 가지고 :Git 로컬 브랜치가 오래되었지만 가져올 항목이 없습니까?
! [rejected] nightly -> nightly (non-fast-forward)
error: failed to push some refs to 'https://github.com/Martin819/quoll.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and 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.
이미이 문제로 여러 번 실행 한을, 그래서 솔루션은 정직 생각했다. 나는 git pull
이었다.
하지만, 나는 그것을 git pull
하려고 말한다 :
* branch nightly -> FETCH_HEAD
Already up to date.
그래서 내가
git remote show origin
과 상태를 확인하기 위해 노력하고있어 :
HEAD branch: master
Remote branches:
master tracked
nightly tracked
Local branches configured for 'git pull':
master merges with remote master
nightly merges with remote nightly
Local refs configured for 'git push':
master pushes to master (up to date)
nightly pushes to nightly (local out of date)
그것이 말하는이 때문에 나는 지금 혼란 스러워요 그 지방 지부는 시대에 뒤쳐져 있지만, 당기려하면 이미 최신이라고 말합니다. 어쨌든 이것을 해결하는 방법?
'nightly' 브랜치의'git status'는 무엇을 말합니까? –
그것은 입니다.'분기점에 nighthly' '아무 것도 저지하지 말고, 작업하는 나무를 깨끗하게합니다. ' – Martin819
그래서, 당신은 당신의 로컬 지점에 어떤 변화도 없습니까? 또는 일부 비 추적/비 커밋 파일이 있습니까? –