나는 http://nvie.com/posts/a-successful-git-branching-model/ 그래서 나는 그것에 관한 질문이 흥미로운 링크있어 분기가 :자식 워크 플로우 모델 및
하는 방법 (맨손으로) "기원"의 repo를 초기화하거나 작업 분기를?
최종 통합은 언제합니까? 원산지가 베어 레포라면 로컬 브랜치에서해야하고 공용 (베어) 레포로 푸시해야합니까?
안부, 피터
나는 http://nvie.com/posts/a-successful-git-branching-model/ 그래서 나는 그것에 관한 질문이 흥미로운 링크있어 분기가 :자식 워크 플로우 모델 및
하는 방법 (맨손으로) "기원"의 repo를 초기화하거나 작업 분기를?
최종 통합은 언제합니까? 원산지가 베어 레포라면 로컬 브랜치에서해야하고 공용 (베어) 레포로 푸시해야합니까?
안부, 피터
당신은 그것을 베어해야 서버로 사용하려는 경우. 그래서 거기에서 변화와 가지를 밀고 당길 수 있습니다. 그것을 베어하지 않으면
, 당신은 노출되어야하는 이유를 설명,이 같은 메시지가 나타날 것입니다 :
Counting objects: 3, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 239 bytes, done.
Total 2 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (2/2), done.
remote: error: refusing to update checked out branch: refs/heads/master
remote: error: By default, updating the current branch in a non-bare repository
remote: error: is denied, because it will make the index and work tree inconsistent
remote: error: with what you pushed, and will require 'git reset --hard' to match
remote: error: the work tree to HEAD.
remote: error:
remote: error: You can set 'receive.denyCurrentBranch' configuration variable to
remote: error: 'ignore' or 'warn' in the remote repository to allow pushing into
remote: error: its current branch; however, this is not recommended unless you
remote: error: arranged to update its work tree to match what you pushed in some
remote: error: other way.
remote: error:
remote: error: To squelch this message and still keep the default behaviour, set
remote: error: 'receive.denyCurrentBranch' configuration variable to 'refuse'.
To /Users/flores/Code/git-test
! [remote rejected] master -> master (branch is currently checked out)
error: failed to push some refs to '/Users/flores/Code/git-test'
귀하의 질문은, 당신이 무엇을 요구 분명하지 않다 나에게 정말 혼란 스럽다. – Ikke
"원본"을 만드는 방법은 무엇입니까? – Pepe
"origin"저장소는 일반적으로 커밋 및 분기를 밀어 넣고 당기는 원격 자식 서버를 의미합니다. git 서버를 설치하는 방법을 알고 싶습니까? –