You can push project to Bit Bucket without using Terminal in Android Studio. To do that you need a Bitbucket plug-in.
Install BitBucket Plug-in
You can download BitBucket plugin from this link. After downloading zip file don’t unzip it. Goto Android Studio, press Ctrl+Alt+S, and search for Plugins in left panel. You will see Plugins tab in right panel.
Click on Install plugin from disk,
Select downloaded BitBucket zip file and Click on Apply,
It’ll ask to restart Android Studio. Click Restart button.
After restarting, Your BitBucket Plug in is installed and ready to use. Now to start Push all your project to BitBucket.
Goto- VCS menu-> and select Enable Version Control Integration.
You’ll be prompted to select Version control system for the project root, here select Git as Bit Bucket uses git system
Now Goto, BitBucket website and Create a new repository with same name as project.
You’ll see Command line syntax to init push code. Just copy the bitbucket origin Url as shown below.
Now Goto AndroidStudio, select project and Git->Add as shown below
And then Commit the changes as shown below.
Enter initial Comment for project and then select Commit and Push as shown below.
Here, You’ll ask to define remote,
Click on it and Enter URL that we copied from Bit Bucket command line syntax.
You’ll be able to Push code to the repository. Click on Push button
Now Go to, Bit bucket website you’ll see project files Committed to your repository.
That’s it. You just Pushed all your Project to Bit bucket without using Terminal window.
Hope it helps somebody.
Cheers.
You may also interested in
Thank u for good information!
What if the end location is a sub directory of the git repository how we can select the particular directory to which we want to push our code.
DOESN’T WORK
nothing happenes, no changes shows