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 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"