Skip to content
Browse files

Add commands from second half of class

  • Loading branch information...
1 parent 1a27205 commit f19cd3b20d62894c05e4b40aed884be46788b119 @johndbritton johndbritton committed
Showing with 94 additions and 0 deletions.
  1. +94 −0 classnotes/2013-03-06-sigcse-2013.md
View
94 classnotes/2013-03-06-sigcse-2013.md
@@ -92,6 +92,8 @@ eventdate: 2013-03-06
## Command History
+### Part I - Commands by Tim
+```
git clone https://github.com/githubteachingorg/poetry.git
ls
cd poetry
@@ -378,4 +380,96 @@ eventdate: 2013-03-06
git add caesar.txt
git commit
git push
+```
+
+### Part II - Commands by John
+```
+ cd web-team/
+ pwd
+ clear
+ clear
+ ls
+ ls -alh
+ git status
+ git remote -v
+ git remote add team1 git@github.com:githubteachingorg/assignment1-team1.git
+ git remote -v
+ git remote add team2
+ git remote add team2 git@github.com:githubteachingorg/assignment1-team2.git
+ git remote rm team2
+ git remote add team2 git@github.com:githubteachingorg/assignment1-team2.git
+ git remote add team3 git@github.com:githubteachingorg/assignment1-team3.git
+ git remote -v
+ clear
+ git remote -v
+ git push team1 gh-pages
+ git push team2 gh-pages
+ git push team3 gh-pages
+ clear
+ git status
+ touch README.md
+ git status
+ nano README.md
+ git status
+ git add README.md
+ git status
+ git commit -,
+ git commit -m 'update: add a readme'
+ git push origin gh-pages
+ git push team1 gh-pages
+ git push team2 gh-pages
+ git push team3 gh-pages
+ cd ..
+ ls
+ git clone git@github.com:githubteachingorg/assignment1-team3.git
+ git add remote assignment git@github.com:githubteachingorg/assignment1.git
+ cd assignment1-team3/
+ git add remote assignment git@github.com:githubteachingorg/assignment1.git
+ ls
+ git status
+ git remote add assignment git@github.com:githubteachingorg/assignment1.git
+ git remote -v
+ git fetch assignment
+ git pull assignment
+ git pull assignment gh-pages
+ git status
+ git push origin gh-pages
+ cd ..
+ cd web-team/
+ nano README.md
+ git statu
+ git status
+ git add .
+ git commit -m 'more work for students'
+ git push origin gh-pages
+ cd ..
+ ls
+ cd assignment1-team3/
+ git status
+ git branch team-info
+ git branch
+ git checkout team-info
+ git branch
+ subl index.html
+ git status
+ git add index.html
+ git status
+ git commit -m 'add team info'
+ git push origin gh-pages
+ git branch
+ git push origin team-info
+ git status
+ ls
+ subl index.html
+ git status
+ git add index.html
+ git commit -m 'update team name'
+ git push origin team-info
+ git status
+ git status
+ git status
+ git add index.html
+ git commit -m'more work'
+ git push origin team-info
+```

0 comments on commit f19cd3b

Please sign in to comment.
Something went wrong with that request. Please try again.