Chris.Koo
Developer 쿠의 개발이야기
Chris.Koo
전체 방문자
오늘
어제
  • 분류 전체보기 (17)
    • Python (2)
    • Android (5)
    • iOS (2)
    • 알고리즘 (0)
    • Git (1)
    • 생각 (1)
    • Web (4)
    • Blockchain (1)
    • 자동차 (1)

블로그 메뉴

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

공지사항

인기 글

태그

  • basefragment
  • isdetaillink
  • rootView
  • swiftUI
  • ios
  • rxKotlin
  • react
  • fetchedresults
  • nextjs
  • appversion
  • Kotlin
  • Python
  • imap_unordered
  • NavigationLink
  • DynamicList
  • SSR
  • firebase
  • feedelegation
  • viewtoroot
  • Klaytn
  • rxjava
  • viewBinding
  • Blockchain
  • RemoteConfig
  • rxbus
  • BaseActivity
  • Android
  • Klay
  • multiprocessing
  • kaikas

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
Chris.Koo

Developer 쿠의 개발이야기

git pull 경고없애기 - Pulling without specifying how to reconcile divergent branches is discouraged
Git

git pull 경고없애기 - Pulling without specifying how to reconcile divergent branches is discouraged

2021. 12. 12. 01:59

얼마전 맥북을 새로 사고 기존 레포지토리들을 풀받다가 벌어진 일이다.

git pull 입력시 warning 발생

 

알아보니 Git 2.27 부터 새로 추가된 기능이라 한다. repo를 pull 땡길때는 rebase, merge, fast-forward 방법이 있는데(기존에도 존재햇음), 이제 이를 명시적으로 정해달라고 warning을 띄워주는듯하다.

해결법

해당 레포지토리만 silence 하려면

git config pull.ff only

향후 모든 레포지토리에 대해 적용하려면

git config --global pull.ff only

 

https://stackoverflow.com/questions/62653114/how-to-deal-with-this-git-warning-pulling-without-specifying-how-to-reconcile
 

How to deal with this git warning? "Pulling without specifying how to reconcile divergent branches is discouraged"

After a git pull origin master I get the following message: warning: Pulling without specifying how to reconcile divergent branches is discouraged. You can squelch this message by running one of the

stackoverflow.com

 

저작자표시 (새창열림)
    Chris.Koo
    Chris.Koo
    개발하며 얻은 지식과 방법론 및 일화에 대해 남기고자 만든 블로그 입니다

    티스토리툴바