payal-kothari
6/22/2017 - 6:56 AM

git commands and steps to link repo from Android studio

git commands and steps to link repo from Android studio

Git commands and steps-
Steps:
link:https://help.github.com/articles/adding-an-existing-project-to-github- using-the-command-line/ (https://help.github.com/articles/adding-an-existing- project-to-github-using-the-command-line/)
1. Create git repository on GitHub.
2. Change the current working directory to your local project in terminal. 3. Initialize the local directory as a Git repository.(git init)
4. git add .
5. git commit -m "First commit"
6. git remote add origin remote repository URL
7. git remote -v
8. git push -u origin master
Commands:
1. git clone <URL>
2. git status
3. git add < le name>
4. git status
5. git commit -m “<msg>”
6. git push // for a sync with github.com 7. git pull // to download
8. OR git add -A // for add all


 find /Users/payalkothari -name ".git" -print 1) git from android studio
http://javapapers.com/android/android-studio-git-tutorial/ (http://javapapers.com/android/android-studio-git-tutorial/)