Skip to content
Open
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
297 changes: 297 additions & 0 deletions git_notes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,302 @@
# Pull requests how you merge branches on GitHub

GitHub is a hub of .git/directories

Y

# master branch is a label that git creates for us when we initialize a repository

# HEAD is another label that git creates for us when we create our first commit. HEAD is _not_ a branch.

# git branch { created a new branch (label) called git-notes} It also shows us which branch is currently active
ls
cd sea-w26-uge/
ls -la
git ll
rm -d ~/sea-w26-uge/
git clone https://github.com/Antraeus/sea-w26-uge.git
cd projects/
l
ll
mkdir Projects/
~
rm -d Projects/
rm Projects/
git push -u origin master
git remote -v
git remote
git remote add origin https://github.com/Antraeus/uge_workshop.git
git branch -d git-notes
git checkout master
git la
git merge tosi
git checkout tosi
git merge tosi
git branch
git checkout git-notes
git branch git-notes
git merge master
git branch master
git --help
giti --help
git merge git-notes
git branch tosi
git commit -m 'Add git notes'
give commit -m 'Add git notes'
git status
git add git_notes.txt
subl .
touch git_notes.txt
git checkin git-notes
git log
git df unix_notes.txt
git checkout -- unix_notes.txt
git df
git commit -m 'Add new unix notes!'
git add unix_notes.txt
subl unix_notes.txt
cd uge_workshop/
git log
../
cd .git
man git
man commit
cat unix_notes.txt
git commit -m 'Said hello with an append command'
git commit -m 'Add unix notes! Watch out for the -R file vortext'
echo "hello" >> unix_notes.txt
git commit
la
git init
history --clear
ls -l
history
clear history
mv Desktop/Codefellows/repos/antraeus/moving_around.txt uge_workshop/unix_notes.txt
mkdir uge_workshop
subl Users/aristidetosi/ Desktop/Codefellows/repos/antraeus/moving_around.txt
history >> Desktop/Codefellows/repos/antraeus/moving_around.txt
history > Desktop/Codefellows/repos/antraeus/moving_around.txt
cd antraeus
cd repos
cd Desktop/Codefellows/
cd
rm moving_around.txt
rm hello.txt
cat hello.txt
echo "goodbye" >> hello.txt
echo "hello" > hello.txt
"Hello" > moving_around.txt
history > moving_around.txt
man less
history | less
help
h
history -r
mkdir antraeus
ls .
./
.
ls -R Desktop/Codefellows/
ls Desktop/Codefellows/
ls /Desktop/Codefellows
ls ~
..
cd ../Guest
../../../..
repos
Desktop/Codefellows/
/
cd ..
pwd
nano
cd my_first_repository
ls
clear
ls -a
ls -p
man ls
ls -R
ls -H
ls -Sr
ls -ql
man rtfm
rtfm
ls -rlt
ls -ltr
ls -rlta
ls -r
ls -t
cd /Users/aristidetosi/Desktop/Codefellows/
cmd /Users/aristidetosi/Desktop/Codefellows/
curl -fsSL http://git.io/QxUaOQ | sh
curl -fsSL http://git.io/QxUaOQ | s
curl -fsSL http://git.io/7UHtNA | sh
git config --global name 'Aristide Paolo Tosi'
git config --global user.name 'antraeus'
git config --global user.name 'Aristide Paolo Tosi'
git config --global user.email 'antreus@gmail.com'
git --version
subl ~/.config/fish/config.fish
echo $EDITOR
subl /etc/paths
subl
subl
echo $EDITER
echo $PATH
echo $PATh
cmd $HOME
$HOME
brew brew ls
brew help
brew
brew brew search
brew
brew in
brew brew info
brew update
sudo apt-get C
echo $SHELL
brew install git
eval $EDITOR
cmd $EDITOR
$EDITOR
subl default.txt
cd repos/
cd desktop/codefellows
git
brew doctor
sudo adduser Development
whoami
ls -G
ls -g
uname
subl -w
ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
cd ~/Applications/Sublime
cd ~
cd applications
cd /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
subl ~/.config/fish/config/fish
brew info fish
brew info
fish_update_completions
cwd
cmd ~
cmd
curl -fsSL http://git.io/beJs | ruby
curl -fsSL http://git.io.beJs | ruby
chsh -s /usr/local/bin/fish
echo '/usr/local/bin/fish' | sudo tee -a /etc/shells
brew install fish
ruby -e "$(curl -fsSL https://raw.github.com/HomeBrew/install/master/install)"
git add readme.md
nano readme.md
git add README
nano
mv my_first_repository/ antraeus
v my_first_repository/ antraeus
git init my_first_repository
git init_my_first_repository
mv /my_first_repository /antraeus
mv /my_first_repository antraeus
cd codefellows
cd desktop
git init my_first_repository/
mv default.txt
git clone antraeus
git clone
cd ../../
mv javascripts/ public/
mkdir javascripts
mv app.css ../../public
mv app.ss ../../public
mv stylesheet.css app.css
touch stylesheet.css
cd project/public/stylesheets
mkdir -p project/public/stylesheets
rm -r Dustbin
cd ../
rm -r Dustbin/
mkdir -p ~/Desktop/Dustbin/Dustbunny/Void
mkdir ~/Desktop/Dustbin/Dustbunny/Void
mkdir ~/Desktop/Dustbin
rm -i .config
rm -i config
touch .config
rm .config
touch style.css
mv index.html default.html
touch index.html
cd documents/
ls -la -p
cd downloads/
dasdflkj
mkdir Wallpaper
cd downloads
man sudo
sudo adduser
curl -L trhou.se/patch01 | bash
cd $HOME
mv default.txt /Codefellows
cp default.txt /Codefellows
mv hey.txt default.txt
cd Codefellows
cd documents
cd ../../../
mv hey.txt /Codefellows
mv hey.txt /codefellows
list
mkdir Codefellows
rm hi.txt
cp -r documentsls
nano hey.txt
less hey.txt
less hi
cp hey.txt hi.txt
cd users
cd aristidetosi
cd ../desktop/hey.txt
mv hey.txt ../documents
cd ../desktop
mv hey.txt ../desktop
ls documents/
mv hey.txt documents/
mv hi.txt hey.txt
mv hello.txt hi.txt
~ /home
less hello.txt
cd $documents
cd /home
/..
/home
ps
cd /users
cd ../..
/Users/aristidetosi/documents
~/documents
~/Users/aristidetosi
cd /home/documents
~Users
cd ~user
cd -bash
cd document
cd /documents
cd documents/ -a
cd /library
cd documen/
cd dp
help pwd
pwd -l
pwd -a
pws
ls -l /etc
ls -l /c
ls /etc
ls /downloads
ls /documents
ls ls /etc
\documents
/documents
documents