개발 3

Git 실습 :: 원격 저장소 Github에 코드 push 및 pull

1. Github에서 토큰 생성 계정 설정 > Password and authentication > Person access tokens > Developer settings 토큰 생성 클래식 토큰 생성 (이름: github-test) select scopes에서 repo / admin:repo_hook 체크 토큰 생성 후 메모 2. 리포지토리 생성 리포지토리 이름: git-basic 3. 원격 설정 현재 작업 중인 로컬 저장소에 원격 저장소 추가 admin@DESKTOP-4M8LFU2 MINGW64 ~/Desktop/git-basic (main) $ git status On branch main nothing to commit, working tree clean admin@DESKTOP-4M8LFU2 ..

Git 2024.05.08

Git 실습 :: git merge로 브랜치 병합 서비스 이용

1. main 브랜치에서 add-coach 브랜치 내용 병합 admin@DESKTOP-4M8LFU2 MINGW64 ~/Desktop/git-basic (add-coach) $ git switch main Switched to branch 'main' admin@DESKTOP-4M8LFU2 MINGW64 ~/Desktop/git-basic (main) 병합 과정 수행 충돌이 발생하지 않아 자동 병합 진행 main 브랜치에는 add-coach 브랜치의 변경 사항이 병합 새로운 파일 jaguars.yaml과 puma.yaml이 추가 leopards.yaml, panthers.yaml, tigers.yaml 파일에서는 충돌이 없이 자동 병합 admin@DESKTOP-4M8LFU2 MINGW64 ~/Desktop..

Git 2024.05.07

Git 실습 :: 생성 파일 수정 후 적용

Lions 파일 수정 멤버에 Margaret 추가 team: Lions manager: Mary members: - Thomas - Karen - Margaret git status으로 수정된 파일 목록 확인 admin@DESKTOP-4M8LFU2 MINGW64 ~/Desktop/git-basic (main) $ git status On branch main Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: lions.yaml no changes added to commit ..

Git 2024.05.03