Monday, September 24, 2012

Git Simple Commands


I keep forgetting how to push files and pull them down. So, this post is for my reference to use GIT.

Adding files to the remote repo


1. Adding the folder(or file) => git add <filename>
2. Checking status of git (confirm whether it is staged) => git status
3. Commiting => git commit -a



4. Pushing the files into remote repo => git push




5. Listing the files (not necessary)



Pulling down files from remote to local repo



0 comments:

Post a Comment

 

Copyright © Project Athena Design by O Pregador | Blogger Theme by Blogger Template de luxo | Powered by Blogger