Set a new git repository

Git 2019. 8. 1. 16:02

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.

Posted by 사용자 guru_k

댓글을 달아 주세요