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 | 29 | 30 |
Tags
- root
- Liniux
- Fail2ban
- html
- 구글 클라우드
- CentOS7
- Apache
- centos
- home page
- front page
- DOM Parser
- MariaDB
- Linux
- Certbot
- Google Cloud
- vscode
- child theme
- launch.json
- SSL
- git pull
- php
- non-www
- Mac
- Xdebug
- wordpress
- LetsEncrypt
- crontab
- https
- mysql
- new user
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 |