git등록.md
· 396 B · Markdown
Ham
커맨드 라인에서 새 레포리지터리 생성
```
touch README.md
git init
git checkout -b main
git add README.md
git commit -m "first commit"
git remote add origin https://gitea.rsonesoft.com/user/project.git
git push -u origin main
```
커맨드라인에서 기존 레포지터리 푸시
```
git remote add origin https://gitea.rsonesoft.com/user/project.git
git push -u origin main
```
커맨드 라인에서 새 레포리지터리 생성
touch README.md
git init
git checkout -b main
git add README.md
git commit -m "first commit"
git remote add origin https://gitea.rsonesoft.com/user/project.git
git push -u origin main
커맨드라인에서 기존 레포지터리 푸시
git remote add origin https://gitea.rsonesoft.com/user/project.git
git push -u origin main