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 | 31 |
Tags
- docker
- Thread
- golang
- 스트리밍
- repo
- FastAPI
- BATCH
- Windows
- dockercontainer
- Hyper-V
- Python
- pip
- 레파지토리
- 파이썬
- go.mod
- python3.9
- 주식
- go
- psutil
- 가상화 중첩화
- 자원측정
- Replication
- 영상스트리밍
- APT
- asyncio
- mariadb
- 자식프로세스
- Finance
- apt-get
- QT_QPA_PLATFORM_PLUGIN_PATH
Archives
- Today
- Total
검색하기귀찮아서만든블로그
[Github] 신규 레파지토리에 소스 추가하기 본문
프로젝트 경로 : /usr/project/new_proj
# git 사용자 정보 입력
$ git config --global user.name "YM KANG"
$ git config --global user.email "my_email_addr@nate.com"
# Github에 push 할 프로젝트 상위 폴더로 이동
$ cd /usr/project/
# git 로컬 레파지토리 초기화
$ git init
# 프로젝트 폴더를 로컬 레파지토리에 추가
$ git add new_proj
# 로컬 레파지토리에 커밋
$ git commit -m "first commit"
# github 사이트에서 레파지토리를 추가 생성한다 (레파지토리명 new_proejct)
$ git remote add origin_new https://github.com/git_user_name/new_project.git
# 잘못된 경우 git remote remove origin_new 로 삭제 하고 다시 add 가능
# github에 로컬 레파지토리 커밋 내용을 push 한다.
$ git push -u origin_new master
> Username for 'https://github.com': github 사용자명을 입력한다 (git_user_name)
> Password for 'https://user_id@github.com': github 비밀번호를 입력한다.
'개발 > 환경' 카테고리의 다른 글
[Hyper-V] VM (Windows) 환경 구성 (0) | 2023.03.26 |
---|---|
[Docker] Hyper-V + Docker 환경 구성 (2) | 2023.03.26 |
[Docker] Network 이해와 사용기 (0) | 2023.03.26 |
[환경구성] virtualenv 사용법 (0) | 2020.07.07 |