250x250
반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- new user
- launch.json
- php
- Mac
- Fail2ban
- wordpress
- vscode
- SSL
- html
- mysql
- Google Cloud
- non-www
- crontab
- CentOS7
- git pull
- root
- home page
- Linux
- child theme
- https
- Certbot
- LetsEncrypt
- Liniux
- Xdebug
- DOM Parser
- centos
- MariaDB
- 구글 클라우드
- front page
- Apache
Archives
- Today
- Total
between 0 and 1
[Git] Adding an existing project to GitHub (기존 프로젝트 깃허브에 올리기) 본문
Software Development Engineering/Dev.Info.
[Git] Adding an existing project to GitHub (기존 프로젝트 깃허브에 올리기)
devxpert.yoon 2021. 1. 26. 16:37728x90
반응형
1. create a new repository on Github
2. move to existing project and initiate git
1) touch .gitignore
2) git init
3) git add .
4) git commit -m "any message"
5) git remote add origin https://github/~~.git
6) git push origin master
3. move to Github
4. set default branch to "master"
5. delete "main" branch
728x90
반응형
'Software Development Engineering > Dev.Info.' 카테고리의 다른 글
[SSL] Auto-renewal SSL on CentOS (let's encrypt, certbot) (0) | 2021.02.09 |
---|---|
[SSL] Let's encrypt on Cent OS (how to install) (0) | 2021.02.09 |
[VSCode] git pull - There is no tracking information for the current branch (0) | 2021.01.24 |
[Server] SSL for Localhost (Local Development Environment) (0) | 2021.01.03 |
[Apache] Redirect HTTP -> HTTPS and Remove "www" (0) | 2021.01.03 |