자기 브런치 커밋, 푸쉬
git remote update
git remote -v => 현재 로컬 Git 저장소에 등록된 원격 저장소의 목록과 URL을 보여줍니다.
이 명령어는 각 원격 저장소의 이름과 함께, 데이터를 'fetch' (가져오기) 및 'push' (보내기)
github https://github.com/cojuns/LPuniv_LMS_TeamProject.git (fetch)
github https://github.com/cojuns/LPuniv_LMS_TeamProject.git (push)
origin https://github.com/Jlostcode/LPuniv.git (fetch)
origin https://github.com/Jlostcode/LPuniv.git (push)
git add . => 변경 사항을 스테이징 영역에 추가
git commit -m "메시지 작성"
git push origin 브랜치이름 => 원하는 브랜치 이름 작성
git remote update -> git 최신버전으로 업데이트
git checkout develop -> 브런치 develop 이동
git pull origin develop -> 브런치 develop 최신버전
git checkout [본인브런치] -> 본인브런치 이동
git pull origin develop -> 자신의 브런치(프로젝트) develop으로 최신화
'코드 정리' 카테고리의 다른 글
AWS_EC2 배포 관련 (SpringBoot_gradle ) (0) | 2024.01.22 |
---|---|
Vue.js 실전_ 연습 순서 (0) | 2023.11.08 |
스프링 시큐리티_구글 소셜로그인_DB연결 (0) | 2023.11.01 |
Vue.js basic (0) | 2023.11.01 |
local=> Git (0) | 2023.11.01 |