简体   繁体   中英

How to export an Android Studio project to a new GitHub branch in a specific Repository?

I have some code I want to add to a new branch in an existing repository. I tried to 'share project to GitHub' under VCS, but it just makes a new repository in a master branch with my code. Is there an option to commit the code to a new branch in an existing repository through Android Studio? I even tried uploading all the files to a new branch on Github.com directly but too many files for that to be processed.

git checkout -b 'new-branch-name'语句创建一个新分支,然后您只需在此处提交更改

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM