rockettttman

  • 홈
  • 태그
  • 방명록

git 3

git 신규 브랜치 체크아웃 할때

error: pathspec 'new-branch' did not match any file(s) known to git 위와 같은 에러가 날 때 - git fetch 또는 - git remote update - git fetch 완료 후 - git checkout

git 2023.05.10

git branch 생성 후 푸쉬

1. git branch new_branch - new_branch라는 이름의 브랜치 생성 2. git checkout new_branch - 생성한 브랜치로 이동 3. git add . - 현재 브랜치에 모든 파일들을 추가 4. git commit -m "init" - 커밋 5. git push origin new_branch - 생성한 브랜치에 푸쉬 중간중간 브랜치가 잘 이동되었는지 확인하는 방법 - git branch -a

git 2023.03.08

파일이나 폴더 대/소문자 변경 시 git이 인식하지 못할 때

1. 깃 대/소문자 구분 명령어 작성 git config core.ignorecase false 이후 파일 or 폴더 명 수정 후 커밋/푸쉬한 후에 캐쉬가 남아있어 기존의 파일/폴더가 남아있는 경우가 있다. 그럴 경우 아래와 같이 해준다. git rm -r --cached . git add . git commit -m "remove cache"

git 2023.03.06
이전
1
다음
더보기

  • 분류 전체보기 (53)
    • Mobile (4)
      • react-native (2)
      • Flutter (1)
      • iOS (1)
    • Web (25)
      • spring (0)
      • javascript (16)
      • css (2)
      • react (1)
      • frontend (1)
      • vue (5)
    • java (3)
    • python (1)
    • DB (1)
    • Network (1)
    • Linux (1)
    • 개발상식 (10)
    • 알고리즘 (2)
    • git (4)

Tag

JavaScript, redux, Vue, 비구조화, breadth-first search, attrr, vue3, Setup, ReactNative, Algorithm, router-link, map, moking test, webpack, git, hoisting, ducks pattern, priority queue, React, async/await,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

Copyright © Kakao Corp. All rights reserved.

티스토리툴바