1. 앞으로의 코드 관리를 위해 github에 repository를 만든다.
2.플러터 프로젝트를 만든다.
저것 클릭하고 원하는 경로에 원하는 이름으로 넣는다.
짠~
이제
github와 연결을 할것이다.
git remote add origin <github url>
굳.
그다음, vscode기본 프로젝트 branch가 master로 되어있어서 (github은 main을 기본으로 인식하기에) main브랜치로 메인을 바꿔준다.
git branch -M main
Good.
그 다음으로 업로드해주면 끝 ><
git add .
git commit -m ""
git push 하면 github에서도
짠~
'⌨️flutter' 카테고리의 다른 글
flutter dependencies upgrade(pubspec.yaml) - 플러터 plugin 버전 업그레이드 (0) | 2023.09.15 |
---|---|
github에 flutter project 올리기 (0) | 2023.08.11 |
flutter AppBar에 icon 넣기 (0) | 2022.10.07 |
7.Dart-Manage Multiple Data with Map, Enum(다트 다중데이터 맵으로 관리) (0) | 2022.08.31 |
6.Dart-Manage Multiple Data with List(다트 다중데이터 리스트로 관리) (0) | 2022.08.26 |