git branch test(브랜치명)
test 이름의 branch 생성
git switch test(브랜치명)
현재 브랜치에서 test 브랜치로 이동.
다시 master(main) 로 이동하고 싶으면 git switch master
git switch master(main) git merge test
각각의 branch 는 독립적으로 작동하기 때문에 합칠거임
자 이제 기준이되는 브랜치로 이동하셈 master 혹은 main 임
그다음 합칠 branch 를 쓰면 됨 (나는 test 로 했음)
여러명이서 개발할때 conflict(충돌) 발생 안되게 잘하셈
git push origin master
GitHub Repo 로 현재 commit 업로드
git pull origin master
GitHub Repo 에서 최근 파일만 다운로드
git clone Git주소
원격 Repo 에서 처음부터 파일을 다운로드함