git

slee2·2022년 8월 27일
0

내 메모장

목록 보기
3/7
sudo yum update -y

sudo yum install git -y

깃 global 설정

git config --global user.name "Lee-seungju"
git config --global user.email seungju0000@naver.com

깃허브에서 브렌치명을 변경했고, 로컬에서 pull을 진행해야할때

$ git branch -m oldname newname
$ git fetch origin
$ git branch -u origin/newname newname
$ git remote set-head origin -a
$ git remote prune origin

0개의 댓글