Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git in Android Studio disappeared?

Tags:

When I right-clicked in my Android Studio project (in the Android view), I used to have a "Git" submenu. There I could pull, push, etc.

However, that 'Git' menu is now gone, somehow. As a result, I can neither push nor pull. Where can I enable that again?

like image 971
Ralf Wickum Avatar asked Jan 25 '16 10:01

Ralf Wickum


People also ask

Does Android Studio include Git?

Install Git on your computerVisit this official site to download git on your computer. Once you do that, you can start using it with android studio.

How do I find my Git repository URL Android Studio?

You can view the remote links in Android Studio as: In menu, click VCS => git => remotes.

What is the use of Git in Android Studio?

Git is an open-source distributed version-control system for tracking changes in any set of files.


2 Answers

Try this way ,

  1. In Android Studio enable the version control for the project by, VCS –> Enable Version Control Integration
  2. Open command line/terminal and add the project to Git repository by, git remote add
  3. Add files by, VCS –> Git –> Add and commit/push by, VCS –> Commit Changes

Checkout Android Studio Git Tutorial link for more detail.

as well as check this Stack Explaination.

In Android Studio, go to ‘File’ –> ‘Settings’ –> ‘Version Control’ –> ‘Git’. Then click ‘Test’ to ensure that Git is configured properly in Android Studio.

Prior to using Git or any other version control with an existing project, ‘version control integration’ should be enabled. In Android Studio, got to ‘VCS’ –> ‘Enable Version Control Integration’. This step is for an already existing project in Android Studio, that is not is integrated with any version control.

like image 85
Amit Vaghela Avatar answered Sep 28 '22 00:09

Amit Vaghela


In my case the plugins "Git" and "GitHub" ware disabled. I enabled them (Settings->Plugins->Installed) and menu "Git" had been appeared.

like image 40
Oleg Avatar answered Sep 27 '22 23:09

Oleg