TIL - Git.2

Jiyeong Kim·2025년 2월 4일

TIL

목록 보기
17/24

인텔리제이 특정 파일만 commit하는 법

  1. git status

src/~/Main.java 링크 전체 복사

  1. git add (위의 링크 붙여넣기)
  1. commit , push

There is no tracking information for the current branch.

Please specify which branch you want to merge with.
See git-pull(1) for details.

git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

git branch --set-upstream-to=origin/<branch> main
  1. git pull origin main

  2. git config pull.rebase true
    이 경우 삐죽 튀어나간 브랜치가 한줄로 모아진다..


어휘력이 이 수준같지만 어쩔 수 없다.. 아는게 없음

  1. 원래대로 add, commit, push 가능
profile
해봅시다

0개의 댓글