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
- 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.
728x90
반응형
'Programming > Git' 카테고리의 다른 글
[Git] git push error - 토큰 인증 (Please use a personal access token instead) (0) | 2021.11.25 |
---|---|
[git] Please make sure you have the correct access rights and the repository exists. (0) | 2021.11.17 |
[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 |
댓글