git
git repository 생성
devnote
2023. 6. 25. 15:55
discussion topics
- 기본적으로 저장소 생성을 할 수 있지만 여기서는 pyscaffold와 poetry를 이용한 저장소 생성을 알아보자
- 기본적으로는 pyscaffold를 이용한 git 저장소를 생성한다
create gitlab repository using pyscaffold
1. 새로운 저장소 생성
2. 저장소 관련 설정을 해준다
3. 이미 존재하는 저장소에서 push 해준다
- 해당 옵션을 선택해야 한다
4. 이제 pyscaffold를 이용해 폴더를 생성한다
$ putup sandbox_test --markdown
$ cd sandbox_test
$ git remote rename origin old-origin
$ git remote add origin git@git.testdns.dev:jmjeong/sandbox_test.git
$ git push -u origin --all
$ git push -u origin --tags
- ssh 설정이 되지 않았다만 ssh설정을 셋팅하던지 http로 변경해서 진행하자.