简体   繁体   中英

Pushing the Android Studio code to Bitbucket without Cloning

I have a project which was on my another laptop. The same android project is present in Bitbucket. I changed the laptop and imported the project in Android Studio and started working.

Now, I have changed the code in my local repo. As I did not connect the bitbucket with the Android studio, I did not push the code. Now I am trying to connect the project with Bitbucket but not sure how to do it.

Can someone please help me on how to push my code without cloning the project.

Thanks, Arindam.

git remote add origin <bitbucket_repo_url>

现在,您的本地存储库已连接到Bitbucket存储库,而无需克隆Bitbucket存储库。

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