%%bash cd myRepo/ ls git pull %%bash cd myRepo/ touch nowimworking.txt echo "Look at me. Work work work" > nowimworking.txt git add -A git status %%bash cd myRepo/ git commit -m "I've committed all of this work!" git push %%bash cd myRepo/ echo "Whoops, I forgot to change something important" > nowimworking.txt cat nowimworking.txt %%bash cd myRepo/ git pull %%bash cd myRepo/ git fetch origin %%bash git add -A git commit -m "I'm committing my changes so that I can merge with the remote repository" %%bash git merge origin/master git mergetool %%bash git commit -m "Successfully merged" git push %%bash rm -r myRepo/ rm -r ../person2/myRepo2/ %%bash git clone https://github.com/choldgraf/git_wont_pull myRepo cd myRepo git status %%bash git clone http://github.com/choldgraf/git_wont_pull ../person2/myRepo2 cd ../person2/myRepo2 git status %%bash cd myRepo/ git reset --hard 3d93d42d5230ac50677d847350c3c455fd792c94 git push -f