Push project to github in android studio
how to solve push project to github can’t in android studio
Remove Remote for mac
rm -rf .git
Remove Remote for windows
rd /s /q “.git”
First of all install git bash and create a repository in git
1) Go to the working directory where there is a file you want to remotely suppress and create a .git folder with
git init
2) Add files in your new local repository.
git add.
Note: when you are in the same folder make sure you have put a dot after the command otherwise you put a path or not put a dot which will create ambiguity
3) Commit the files you have created in your local repository.
git commit -m “First commit”
4) after this go to git repository and copy remote URL
git remote add origin *Remote repository URL
5)
git remote -v
Note: this will ask for user.email and user.name just enter according to the configuration
6)
original git push master
this will push all committed code to FILE.git in repository
And I think we’re done