https://gdtbgl93.tistory.com/63
Git push가 안되는 경우 (fatal: refusing to merge unrelated histories)
로컬 저장소에 있는 프로젝트를 깃허브 사이트를 통해 만든 저장소로 push 하는 경우에 이런 메세지가 뜨는 경우가 있다. 1 2 3 4 5 6 7 8 C:\Users\gitProject>git push origin master To https://github.co..
gdtbgl93.tistory.com
push 안되길래
pull먼저 해보려는데 다 안되길래
1
|
git pull origin 브런치명 --allow-unrelated-histories
|
cs |
이거 하니까 되더라
깃 데스크탑써서 큰 걱정은 없지만
이것도 한번 읽어봤다..
origin/branch 랑
branch 뭐가 다른지..
흠 대충 이해해서는
branch는 내 로컬이고
origin/branch가 깃헙에 넘어가는 거같음요..
"여기에서 branch_name은 로컬 분기인 반면, origin/branch_name은 원격 추적 분기입니다. 원점에 있는 해당 분기의 상태를 반영합니다..."
하지만 다 이해하진 못했다!
https://stackoverflow.com/questions/26125162/difference-between-origin-branch-name-and-branch-name
difference between origin/branch_name and branch_name?
for pushing to bitbucket. If I do: git push origin origin/branch_name my commits are not pushed. Total 0 (delta 0), reused 0 (delta 0) If I do git push origin branch_name my commits are pushed:
stackoverflow.com
'블록체인' 카테고리의 다른 글
블록체인 p2p라면서 httpServer는 왜 쓰는 걸까에 대한 나름의 이해.. (0) | 2022.01.06 |
---|---|
블록체인 httpserver 서버구축, blocks 띄우기(제네시스 블록/get post차이 이해함요) (0) | 2022.01.06 |
깃데스크탑으로 리눅스 우분트 작업하기(쉬움) git destktop/ wsl (0) | 2022.01.06 |
210104 블록체인 작업증명,마이닝,지갑생성하기 코드 / 암호화 개념 (0) | 2022.01.04 |
웹소켓 (0) | 2022.01.04 |