Git Notes
Just Enough to Get Started with Git and Github Given a project started locally outside of Git. Move it to git and github: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ Workflow: git status git add foo git commit -m " fooooooooooo" git push origin master Next, a One-Person Workflow with Branching #Start with a project in a happy, committed state #Master is our main/production branch #Create a branch to work on a new feature #git checkout -b <new_branch> <start_point> git checkout -b new-feature master #The above is the same as # git branch new-feature # git checkout new-feature #See all the branches git branch #Push the new branch to Github. After this, "git push" will update everything. git push --set-upstream origin new-feature <Do stuff & commit.> #Store your commit saf...