echo machine code.google.com >> ~/.netrc echo login firstname.lastname@example.org >> ~/.netrc echo password yourpassword >> ~/.netrc chmod go= ~/.netrc
touch test.inc git add test.inc git commit -m "test file has been added" git remote add myproject https://code.google.com/p/yourprojectname git push myproject master:master
After doing this, test.inc file has been added successfuly. Following the first push, inserting, deleting and updating will be made.
touch text.txt git status git rm test.inc git status -s git add test.txt git commit -m "some files has been changed" git push
The commands given above, we can see touching and text file easily. test.inc file has been removed and created text.txt file, and logged "some files has been changed" message. After all, we push all change