Git 개인정리

Jimin·2022년 10월 28일
0

git

목록 보기
1/2
post-thumbnail

git branch local에서 생성해서 remote로 옮기기

> git checkout -b branch_name
> git push --set-upstream origin branch_name

git branch remote에서 local로 가져오기

> git pull origin [base브랜치]
> git remote update

git branch 삭제해서 remote로 옮기기

> git branch -d [branch_name]
> git push origin --delete [branch_name]

[branch_name]을 git main으로 merge 하기

> git merge [branch_name]

https://cjh5414.github.io/get-git-remote-branch/

mac이랑 widows 오류

> git config --global core.autocrlf true input
profile
https://github.com/Dingadung

0개의 댓글