Android 如何将Flatter项目链接到私有git hub回购?

Android 如何将Flatter项目链接到私有git hub回购?,android,git,flutter,android-studio,dart,Android,Git,Flutter,Android Studio,Dart,我目前正在Android studio中使用Flatter,想知道如何将一个项目链接到Android studio中的私有回购 顺便说一句,这是我自己的简明自我回答。cd cd <project folder> git init git add . git remote add origin https://github.com/USERNAME/project.git git fetch origin git commit -m "My first commit"

我目前正在Android studio中使用Flatter,想知道如何将一个项目链接到Android studio中的私有回购

顺便说一句,这是我自己的简明自我回答。

cd
cd <project folder>
git init
git add .
git remote add origin https://github.com/USERNAME/project.git
git fetch origin
git commit -m "My first commit"
git push -u origin master
初始化 git添加。 git远程添加源https://github.com/USERNAME/project.git git获取源 git commit-m“我的第一次提交” git-push-u源主机
然后在安卓工作室


VCS->Git->Push

这与颤振或飞镖没有任何关系。