Version Control System with Android Studio.
- Push Project without using Git Terminal
- By using only Android Studio
- Git add Files
- Git commit
- Git repo Creation
- Git push on Github
- Open non-Git project on Android Studio.
- First Test Git Cofigured
- Settings > Version Control > Git.
- Now press Test Button (It will show you Git Version installed).
- Settings > Version Control > GitHub.
- If its showing error try this
- Settings > Version Control > Git.
- File > new > Project from VC > Github > give Token.
- VCS > Import into VC > Create Git Repository. (All FIles will become brown)
- Select Your Project Folder OR Click On (Android Icon) Project Directory.
- Now Select your Project folder in left Project section.
- VCS > GIT > Add (ctrl + alt + A) (All files will turn green).
- In Tool Bar, Click purple arrow button (commit) (ctrl + k)
- Unselect those files whome u don't want to commit
- Give commit msg.
- press commit button.
- Now In Tool Bar, Press push button (Green Arrow) (ctrl + shift + k)
- Create repo in Github, copy the URL
- Come to A.S , Press on Define Remote
- Paste in the URL press OK.
- Press Push button.
~ Go to your Project Folder.
~ Right Click > Press on Git Bash Here.
Now Follow the given Steps:
- git init
- git status
- git add -A (It'll add all your files in Staging Area)
- git status
- git config --global user.name "Your Name"
- git config --global user.email "YourEmail@gmail.com"
- git commit -m "Initial commit" (Commit msg for remembrance)
- git remote add origin ~ URL ~ (Copy URL from github after creating a repository there) (ur URL is saved in origin)
- git push -u origin master (master branch is selected n pushed to repo)
- Git Working Structure
- Git in Android Studio
- Android Studio's Toolbar with Git Commands
- Press (Alt + 9)
- Details about Git
- Log Screen With many options
💙 Fluttering