Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions github/gitInstructions.txt
Original file line number Diff line number Diff line change
@@ -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 <branch name> makes new branch and makes it your current branch
git branch <branch name> makes new branch
git checkout <branch name> changes branches
git add <file name> 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 <filename> // 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 <filename> // opens new tab for file
:vsplit <filename> / #splitscreene
Empty file added github/nate.txt
Empty file.
3 changes: 3 additions & 0 deletions github/spencer.txt
Original file line number Diff line number Diff line change
@@ -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"