Search

Repository 작업

[- Disclaimer -] 아래 내용은 정보보안 공부 목적으로 작성된 것이나, 이를 토대로 허가되지 않은 대상에 실습을 진행할 경우 해킹 시도로 간주하여 법적 처벌을 받을 수 있음을 알려 드립니다.
Sourcetree에 Repository 불러오기
✦ Clone
✧ Sourcetree에 Remote Repository의 Commit을 Download
✦ Add
✧ Sourcetree에 Local Repository의 Commit 추가
✦ Create
✧ Sourcetree에 새 Local Repositry 생성
→ git bash 상에서 git init 명령과 동일
✦ 이후 .git 정보를 해석한 View가 보임
파일 생성/수정
✦ Visual Studio Code로 .md 등 작성
수정 사항 Commit
✦ Commit하지 않은 변경사항이라는 문구 존재
✦ Stage에 올라간 파일
✧ git bash 상에서 git add 명령과 동일
✦ Commit을 눌러 Commit 상세 설명 작성
✧ git bash 상에서 git commit -m 명령과 동일
✦ Commit 실행 확인
Remote Repository에 Commit Upload
✦ origin
✧ Remote Repository명으로 작성해 놓은 거
✦ Remote Repository에 Commit Push
✧ git bash 상에서 git push [Repository명] master 명령과 동일