From 1c5cf7dc5886718fac91010dc592e989026c57e1 Mon Sep 17 00:00:00 2001 From: spencejam Date: Thu, 3 Oct 2019 20:21:17 -0600 Subject: [PATCH 1/2] funny joke inside --- github/nate.txt | 0 github/spencer.txt | 3 +++ 2 files changed, 3 insertions(+) create mode 100755 github/nate.txt create mode 100755 github/spencer.txt diff --git a/github/nate.txt b/github/nate.txt new file mode 100755 index 0000000..e69de29 diff --git a/github/spencer.txt b/github/spencer.txt new file mode 100755 index 0000000..6b7b082 --- /dev/null +++ b/github/spencer.txt @@ -0,0 +1,3 @@ +the optimist says "the glass is half full" +the pessimist says "the glass is half-empty" +the engineer says "the glass is twice as big as it needs to be" From b1ce34e8ac0f716487674db3e42426594df6ee42 Mon Sep 17 00:00:00 2001 From: spencejam Date: Thu, 3 Oct 2019 20:34:21 -0600 Subject: [PATCH 2/2] more practice and terminal tips --- github/gitInstructions.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 github/gitInstructions.txt diff --git a/github/gitInstructions.txt b/github/gitInstructions.txt new file mode 100755 index 0000000..7dcb3d5 --- /dev/null +++ b/github/gitInstructions.txt @@ -0,0 +1,23 @@ +git status // checks the master branch and current branch for up to dateness +git fetch // downloads master branch but doesn't implement +git pull // downloads and implements +git checkout -b makes new branch and makes it your current branch +git branch makes new branch +git checkout changes branches +git add adds to the git queue that will be commited +git add . adds everything that you changed (everything in red with git status) +git commit -m "message" makes a commit with everything in the add and adds a message +git push // pushes up to the repo +git pull // grabs everything from the repo +vim // opens text editor for file +in vim: + i // insert mode + k j // esc + esc // esc + v // visual mode (probs won't use) + :w // writes + :q // quits + cntrl Z // backgrounds + fg // foregrounds + :tabe // opens new tab for file + :vsplit / #splitscreene