git

    Git 주요 명령어

    1. 현재 설정된 계정 정보 확인 $ git config user.name $ git config user.email 2. 계정 정보 변경 $ git config --global user.name 변경할 계정이름 $ git config --global user.email 변경할 계정이메일 3. 현재 연결되어있는 리포지토리 확인 $ git remote show origin 4. 기존 리포지토리 remote 제거 $ git remote remove origin 5. 새 리포지토리 remote 추가 $ git remote add origin 새 리포지토리의 http경로 6. commit의 author 변경 $ git rebase -i -p 직전커밋의 해쉬 // (변경할 commit의 상태 edit로 변경) $..