From d000fecf3deec84277db97b9d903f327261036b1 Mon Sep 17 00:00:00 2001 From: Susanna Kwok Date: Sat, 15 Oct 2016 13:04:46 -0700 Subject: [PATCH 1/2] Suzy changes --- git.md | 1 + 1 file changed, 1 insertion(+) diff --git a/git.md b/git.md index 5a28244..e4151cf 100644 --- a/git.md +++ b/git.md @@ -18,3 +18,4 @@ Force getting all the remote data git fetch --all git reset --hard origin/master ``` +'Hello World!' From 3e1ac09d042ad09fdbfc04aef3c7b6c0e05dcd51 Mon Sep 17 00:00:00 2001 From: Susanna Kwok Date: Sat, 15 Oct 2016 13:27:55 -0700 Subject: [PATCH 2/2] Suzy Changes --- git.md | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/git.md b/git.md index e4151cf..efb12bd 100644 --- a/git.md +++ b/git.md @@ -10,7 +10,7 @@ Updating edd5eec..72537f4 error: Your local changes to the following files would be overwritten by merge: ``` -### If you *don't* care about local changes +### If you *don't* beyonce about local changes Force getting all the remote data @@ -18,4 +18,33 @@ Force getting all the remote data git fetch --all git reset --hard origin/master ``` -'Hello World!' +### Git Notes +``` +To terminate a hanging command = ctrl-z OR ctrl-c OR escape OR q + +mkdir = make a directory + +cd = change direction + +ls = listing files + +.. = this location + +git add __________ (specific file name) +git commit -m "MESSAGE ABOUT CHANGES MADE" + +git status = what files are currently being staged + +git remote -v = which github cloud is this using (tells what places you are looking from, where code originates) + +git push = pushes all code onto github + +``` +### Books/Sites to READ +[Python for Biologists Book](http://pythonforbiologists.com/) + +[Programming for Biologists](http://www.programmingforbiologists.org/) + +[Git Cheat Sheet](https://services.github.com/kit/downloads/github-git-cheat-sheet.pdf) + +![picture](https://i.imgflip.com/b94g3.jpg)