본문 바로가기
Programming/Git

Set a new git repository

by guru_k 2019. 8. 1.
728x90
반응형

1. git init

$ git init

2. git add <files>

$ git add .

3. git commit

$ git commit -m 'first commit'

4. Create a new git repository

5. Add remote & Push 

$ git remote add origin https://github.com/username/repo
$ git push -u origin master

6. Check it out on your repository.

728x90
반응형

댓글