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
- Go to http://github.com and 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.
'Git' 카테고리의 다른 글
Set a new git repository (0) | 2019.08.01 |
---|---|
[Git] Add git branch (0) | 2019.08.01 |
[Git] Delete git branch (0) | 2019.08.01 |
fatal: refusing to merge unrelated histories (0) | 2019.08.01 |
git error : pathspec 'application/libraries/FileName' did not match any file(s) known to git. (0) | 2016.09.19 |
댓글을 달아 주세요