본문 바로가기 메뉴 바로가기

기록하는 프로그래머

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

기록하는 프로그래머

검색하기 폼
  • 분류 전체보기 (114)
    • Java (54)
      • SpringBoot&Spring (33)
      • JPA, QueryDSL (16)
      • Mapstruct (4)
    • Javascript (7)
    • Server (8)
      • Linux (7)
      • Windows (1)
    • Database (6)
      • Oracle (4)
      • MSSQL (2)
    • DevOps (20)
      • Jenkins (8)
      • Docker (4)
      • NginX (4)
      • Apache (2)
      • IIS (1)
      • CI CD (1)
    • 형상관리 (3)
      • Git (3)
    • Tools (9)
      • IntelliJ (8)
      • VSCode (1)
    • 보안 (5)
      • 메일보안 (4)
      • 웹방화벽 (1)
  • 방명록

status (1)
[git] pc 변경 후 로컬 레포지토리 소유자문제 해결하기 (git config --global --add safe.directory) // fatal: detected dubious ownership in repository at ... is owned by ...

회사 PC를 오랜기간 사용해서 변경하고 소스폴더들이 있는 디스크만 옮겼는데 OS 유저가 변경되어 올바른 깃 로컬 레포지토리가 동작이 되지 않았다. 근데 이는 간단하게 해결 할 수 있다. git status 를 입력하면 company@jaybee MINGW64 /d/GitHub/project $ git status fatal: detected dubious ownership in repository at 'D:/GitHub/project' 'D:/GitHub/project' is owned by: BUILTIN/Administrators (S-1-5-32-544) but the current user is: jaybee/company (S-1-5-21-3506454000-962289665-893259382..

형상관리/Git 2024. 3. 5. 11:04
이전 1 다음
이전 다음
반응형
공지사항
  • 헬스시작!
  • 카카오 구글광고 때문에 포스트가 난장판입니다.
  • 블로그 이전완료!
최근에 올라온 글
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Total
Today
Yesterday

Powered by Tistory / Designed by Tistory / Managed by Jaybee / Icons by Icons8

티스토리툴바