---------------push files to github------------------- git init git remote add origin [email protected]:1037861070/android.git git add README.md git commit –m "first commit" git push –u origin master
--------------pull files from github------------------ git init git remote add origin [email protected]:1037861070/android.git git fetch --all git reset --hard origin/master git pull origin master