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
19 changes: 19 additions & 0 deletions KMSkelton/git_notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
GIT COMMAND NOTES
git status : gives status of current branch
git branch : without branch name this shows the avail branches and indicates
which you're on. With the branch name, this creates that branch.
git checkout <branch name> switches to the branch of <branch name>

git init <directory> creates a repositry of name <directory>

git pull <remote repository> : fetches and merges remote repo
git push <remote repo> <branch> : pushes local <branch> to <remote repo>

git merge <branch>: Merges specified branch into the current branch
git add <file> or <directory>: stage changes in <file> or <directory> for commit
git commit: commits files and directories stages with git add.
Message dialog will appear. -m "message" will add text to each committed
file in lieu of dialog. -a commits all changes for files that have been
added with git add


21 changes: 21 additions & 0 deletions KMSkelton/unix_notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
UNIX commands
ls : lists all non-hidden files and folders. Also simply "l"
cd : changes directory
~/ represents home directory
cwd : current working directory
mv : move file
cp: copy file
mkdir: make directory
rmdir: remove a directory. may need "sudo rmdir -r" depending on permissions
rm: remove a file
chmod: change permission. Users/Groups/Other Read/Write/eXecute 4/2/1
chown: change ownership
chgrp: change group

touch - create file; or updates existing file to current timesatmp


less - file viewer; pseudo editor.
more - file viewer, stops at page/screen breaks
cat - dumps files content to screen
nano - editor