Wednesday, June 1, 2016

GitHub - Basic Version control using Pull, Commit, and Push from the console

This is a simple procedure for updating a Git repository. This works well for an individual developer working from a couple different environments.

1. Pull current version of branch:
git pull
2. Make changes to project files 3. See a list of changed files:
git diff --stat
4. Commit all changes to local copy of branch:
git commit -a
5. Finally, push changes to branch:
git push
That's it!