git - How to Commit and Push Android App/Project to Pre-existing Empty Bitbucket Repository with Android Studio? -



git - How to Commit and Push Android App/Project to Pre-existing Empty Bitbucket Repository with Android Studio? -

so i'm running latest version of android studio (0.6.1) , want force bitbucket because has free private repos (let's avoid github vs bb comments). i've created simple repo test vcs functionality , using new android project default configs except app called 'testapp' , project file located on desktop.

i've performed next steps:

vcs>import version control>create git repository use default path: "c:\users\user\desktop\testapp" vcs>git>checkout version control give https://sanecito@bitbucket.org/sanecito/testrepo.git vcs path , "c:\users\user\desktop\" parent directory, , testrepo folder when given "would create android studio project sources have checked out c:\users\user\desktop\testrepo", nail "yes" create project existing sources project name: testrepo project location: c:/users/user/desktop/testrepo open project in new window add textfile text "test" testrepo in ide, "do want add together next file git? [...]">yes hit vcs greenish arrow button in menu (commit changes) mouse on 'commit' button, nail commit , push hit 'push' in next window

push window vanishes , there's brief pop-up window @ bottom there's "nothing push" despite showing in previous window there changes project there several issues process, first create vanilla android project , force empty repo, in trying link it creates new project (abet without vanilla app). new project when nail commit , force isn't pushed repo.

i'm aware there's question: how import project bitbucket repository android studio? however, none of of answers useful solving should simple issue aren't descriptive (i.e. how supposed setup plug-in). tell me how 2 things:

setup git existing android project , application open , force repo on bitbucket setup git config fresh android studio install such person can pull bitbucket repo android app code work on

the solution in total can found here: https://www.youtube.com/watch?v=ibebjuedwzq

i typed how setup plugin , how pull non-empty repo (feel free utilize parent directory of own choosing, felt lead clean setup), video has how force empty repo

setting bitbucket plugin

download bitbucket plugin idea/android studio at time of writing (2014/06/25) official plugin not back upwards idea13 current version of android studio (0.6.1) uses. however, there unofficial version works (get latest version) open android studio on main menu click 'configure' , 'plugins' click 'install plugin disk', navigate plugin .zip file location, select it, , nail ok. restart android studio when prompted

pull bitbucket repository onto local computer repository

if android studio not running, start it from 'quick start' menu, select 'check out version control' for 'parent directory' click "..." on right , navigate c:\users\ [username]\repos if 'repos' not exist, create new folder clicking 'new folder' button (or hotkey alt+insert) , name new folder 'repos' in 'checkout from' dropdown select 'bitbucket' , come in bitbucket credentials if prompted from 'repository list:' dropdown, should see desired repo. select it, , click 'ok'

git version-control repository android-studio bitbucket

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -