728x90

1. 변경된 모든내용 추가

git add -A

 

2. 추가한 내용 commit

git commit -m ~~~

예시) git commit -m 'initial commit' https://github.com/websterking/repo.git


3. 커밋한 사항 푸시

git push 원격저장소 주소

예시) git push https://github.com/websterking/repo.git

 

4. 푸시된 내용 pull

git pull 원격저장소 주소

예시) git pull https://github.com/websterking/repo.git 


5. 프로젝트 가져오기

git clone 원격저장소 주소

예시) git clone https://github.com/websterking/repo.git




**간혹, 권한을 요구할경우 앞에 sudo를 붙여준다

예시) sudo git clone https://github.com/websterking/repo.git

728x90
반응형