Skip to content

Instantly share code, notes, and snippets.

@matthewmccullough
Created September 21, 2012 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewmccullough/3762570 to your computer and use it in GitHub Desktop.
Save matthewmccullough/3762570 to your computer and use it in GitHub Desktop.
Open Enrollment GitHub Class - How to Clone and Push
git clone https://github.com/matthewmccullough/training-repo-09-12.git mytrainingrepo

cd mytrainingrepo
echo CHANGE >> caesar.txt
git add caesar.txt
git commit -m "Changes"
git push 
git branch matthewmccfeature
git checkout matthewmccfeature
vim matthewmcc.txt
git add .
git commit -m"Matthew was here"

git push -u origin matthewmccfeature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment