From 38cd295368a57fedf83204a44956d88047a2260b Mon Sep 17 00:00:00 2001 From: Anna Guzikowski Date: Mon, 11 Jan 2016 14:48:35 -0800 Subject: [PATCH 1/5] My first note --- bioinformatics.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bioinformatics.md b/bioinformatics.md index bb0d639..8e8f4e6 100644 --- a/bioinformatics.md +++ b/bioinformatics.md @@ -24,3 +24,6 @@ The final command looks like this: ``` findMotifsGenome.pl peaks.bed out_dir hg19 -bg background.bed -rna -len 4,5,6,7 -mset vertebrates -mis 1 -p 4 ``` +My new note: git checkout checks out (i.e., restores) an old version of a file + + From 2d1a31be58d055f057d49db927a7a17ce3e012ae Mon Sep 17 00:00:00 2001 From: Anna Guzikowski Date: Mon, 11 Jan 2016 14:57:21 -0800 Subject: [PATCH 2/5] Comment 1 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e60573c..e528310 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # cheatsheets Quick lookup documents for commonly used tools + +Comment 1: type git log to look at history of what you’ve done so far From 60dc905b3da5bd72a74b071d3c419739cdc6d1de Mon Sep 17 00:00:00 2001 From: Anna Guzikowski Date: Mon, 18 Jan 2016 15:40:11 -0800 Subject: [PATCH 3/5] My list of basic Unix Commands to Remember --- unixcommandnotes.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 unixcommandnotes.txt diff --git a/unixcommandnotes.txt b/unixcommandnotes.txt new file mode 100644 index 0000000..e69de29 From bf063993358b186049fe6bc045fbff211ef632a8 Mon Sep 17 00:00:00 2001 From: Anna Guzikowski Date: Mon, 18 Jan 2016 15:48:02 -0800 Subject: [PATCH 4/5] updated my list of command definitions --- unixcommandnotes.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/unixcommandnotes.txt b/unixcommandnotes.txt index e69de29..6e24aba 100644 --- a/unixcommandnotes.txt +++ b/unixcommandnotes.txt @@ -0,0 +1,19 @@ +pwd: present working directory +~ : home directory +cd: change directory +ls: list directory contents (files) +man: manual for whatever command you specify +mkdir: make directory +cd ..: change back to home directory +touch file.txt: creat an empty file called "text" +cat: look at file's contents +echo "example" >> file. text: this will append "example" into the file "text" +wc: line count +mv: move (must specify origin and destination after) +cp: copy (must specify origin and destination after) +scp: secure copy +chmod: permissions +awk: extract lines based on desired specifications you input +git init: makes a directory a git repo +git add: tells git to start keeping track of something +git commit -m: tells git to record your changes From 46317744c0f4863060e16aff62db8ad54bdf0580 Mon Sep 17 00:00:00 2001 From: Anna Guzikowski Date: Mon, 18 Jan 2016 15:54:27 -0800 Subject: [PATCH 5/5] added git diff note --- unixcommandnotes.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unixcommandnotes.txt b/unixcommandnotes.txt index 6e24aba..3d70360 100644 --- a/unixcommandnotes.txt +++ b/unixcommandnotes.txt @@ -17,3 +17,5 @@ awk: extract lines based on desired specifications you input git init: makes a directory a git repo git add: tells git to start keeping track of something git commit -m: tells git to record your changes +git diff: shows changes so you can review them +