github 원격지 저장소 삭제
github 원격지 저장소 생성
git init -저장소(.git파일) 생성
gitignore 접속
생성 누르고 나오는 코드들 전부 복사하여 .gitignore 파일에 붙여넣기
그리고
git add *
git commit -m''
git log
git bracn -M main - master 에서 main으로 이름변경
git remote add origin https://github.com/dokwonjae/java_workspace.git - 원격지 저장소 연결
git push -u origin main
원격지 저장소 생성 완료
'Git' 카테고리의 다른 글
Github desktop 설치 (0) | 2023.09.05 |
---|---|
Git (0) | 2023.08.07 |