1. 3
    Practical Git: Capture code history snapshots with git add/commit/push
    3m 42s

Practical Git: Capture code history snapshots with git add/commit/push

Trevor Miller
InstructorTrevor Miller

Share this video with your friends

Send Tweet

When working with Git, the most common thing developers do is stage, commit, and push the changes they make to a code base - this "edit -> stage -> commit -> push" cycle is the main workflow when using Git; it lets developers make "snapshots" of changes to their codebase which they can share and revert back to. In this lesson, we make some changes to our codebase and then git add (stage), git commit (store in history), and git push (sync with our remote repository) those changes. We also use git status along the way to see an update of where our repository is at.

ImRob
ImRob
~ 4 years ago

trying to follow along with your example, should the files match up? Your repo is example-utility-functions instead of just utility-functions

Trevor Miller
Trevor Millerinstructor
~ 4 years ago

The git commands are meant to be general to be applied to any git repo :) Thanks for watching.