Git commands (will be updated to add more later)
git status — show me everything that has changed on my local machine (what did i modify, add, delete)
git add . — for my local versioning repository, add all the files that I have created
git commit . -m “status” — for all the new and changed files, commit the changes to my local versioning repository
git pull origin master — compares my local repository to the master (shared by other devs). If there’s a conflict, it will show here.
git push origin master — push all my changes to the master repository (visible on github.com)
Leave a Reply