Coding/Git

git에 수정/추가된 코드를 올리는 법

CoCoZe 2020. 1. 24. 13:00

1. add

 

git add --all

전체 파일을 stage에 올린다.

 

git add 파일이름

원하는 파일만 stage에 올린다.

 

2. commit

 

git commit

커밋을 남긴다. 명령어를 입력하면 commit을 입력하는 창이 나온다.

 

3. push

 

git push origin master

반응형