|
| 1 | +--- |
| 2 | +layout: bare |
| 3 | +title: American Underground Workshop 2013 |
| 4 | +description: American Underground Workshop 2013 Class Notes |
| 5 | +tags: [notes] |
| 6 | +path: classnotes/2013-11-19-american-underground-workshop-2013.md |
| 7 | +eventdate: 2013-11-19 |
| 8 | +--- |
| 9 | + |
| 10 | +## Teachers |
| 11 | +* Tim Berglund ([Twitter](http://twitter.com/tlberglund), [GitHub](https://github.com/tlberglund)) |
| 12 | + |
| 13 | +## Resources |
| 14 | + |
| 15 | +* [Adding SSL Certificates for GitHub.com (Common for Windows XP)](http://stackoverflow.com/questions/3777075/https-github-access/4454754#4454754) |
| 16 | +* Disabling SSL Certificate Checks for Git: |
| 17 | + |
| 18 | + git config --global http.sslVerify false |
| 19 | +* [Open Source Git Ignore Templates](https://github.com/github/gitignore) |
| 20 | +* [Book Authoring on Git and GitHub](http://teach.github.com/articles/book-authoring-using-git-and-github/) |
| 21 | +* [Post Receive Hooks](https://help.github.com/articles/post-receive-hooks) |
| 22 | +* [GitHub Training Videos](http://training.github.com/resources/videos/) |
| 23 | +* [Using Git with Media Temple](http://carl-topham.com/theblog/post/using-git-media-temple/) |
| 24 | +* [GitHub Training Feedback and Follow-up Questions](https://github.com/githubtraining/feedback/issues?state=open) |
| 25 | +* [GitHub Commit Status API for Continuous Integration](https://github.com/blog/1227-commit-status-api) |
| 26 | +* [Git Credential Cache for HTTP](http://teach.github.com/articles/lesson-git-credential-cache/) |
| 27 | +* [GitHub Issues Cheatsheet](http://teach.github.com/articles/github-issues-cheatsheet/) |
| 28 | +* [Jenkins Git Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin) |
| 29 | +* [Open Source Git Ignores](https://github.com/github/gitignore) |
| 30 | +* [Ship of Theseus - Related to Similarity Index](http://en.wikipedia.org/wiki/Ship_of_Theseus) |
| 31 | +* [git-p4 Perforce Script](http://answers.perforce.com/articles/KB_Article/Git-P4) |
| 32 | +* [Unix watch command](http://en.wikipedia.org/wiki/Watch_(Unix\)) |
| 33 | +* [SHA-1 Hash Collisions](http://git-scm.com/book/ch6-1.html#A-SHORT-NOTE-ABOUT-SHA-1) |
| 34 | +* [NPD Git Cheatsheet](http://ndpsoftware.com/git-cheatsheet.html) |
| 35 | +* [More Git Cheatsheets](http://teach.github.com/articles/git-cheatsheets/) |
| 36 | + |
| 37 | +## Installation |
| 38 | +* Git Installation |
| 39 | + * [The Git-SCM Web Site (All Platforms)](http://git-scm.com) |
| 40 | + * [The GitHub for Windows Client and Command Line](http://windows.github.com) |
| 41 | +* Minimum is 1.7.ANYTHING, but can have issues with HTTPS credential prompting. |
| 42 | +* Best is 1.8.0 or higher |
| 43 | + |
| 44 | +## Suggested Books, Articles |
| 45 | +* [Free ProGit Book](http://git-scm.com/book) |
| 46 | +* [Getting started with Version Control](http://teach.github.com/articles/lesson-new-to-version-control/) |
| 47 | +* [The GitHub Flow](http://scottchacon.com/2011/08/31/github-flow.html) |
| 48 | +* [DVCS Workflows Book](https://github.com/zkessin/dvcs-workflows) |
| 49 | +* [Git Cheat Sheets](http://teach.github.com/articles/git-cheatsheets/) |
| 50 | +* [Git Workflow Links](https://pinboard.in/u:matthew.mccullough/t:git+workflow) |
| 51 | + |
| 52 | +## Course Materials, Links |
| 53 | +* [Git Teaching Materials](http://teach.github.com) |
| 54 | +* [Course Slides](http://teach.github.com/presentations/) |
| 55 | +* [Course Slides Source](https://github.com/github/teach.github.com/tree/gh-pages/presentations) |
| 56 | +* [Post-event Git and GitHub questions](https://github.com/githubtraining/feedback/) |
| 57 | +* [Free Office Hours Sessions](http://training.github.com/web/free-classes/) |
| 58 | + |
| 59 | +## Outline |
| 60 | +* How to clone repositories |
| 61 | +* How to perform basic Git operations from the command line. |
| 62 | +* Branching strategeries |
| 63 | +* How pull requests work |
| 64 | +* What you can do with GitHub Issues |
| 65 | +* Rebasing |
| 66 | +* Social dimensions |
| 67 | + |
| 68 | +## Command History |
| 69 | + |
| 70 | + git clone https://github.com/githubteacher/durham.git |
| 71 | + cd durham |
| 72 | + git commit -m "Eager" |
| 73 | + git log |
| 74 | + git log --format=raw |
| 75 | + git log --graph |
| 76 | + git log --graph --decorate |
| 77 | + git log --graph --decorate --oneline |
| 78 | + git log --graph --decorate --oneline --all |
| 79 | + git config --global alias.lol "log --graph --decorate --oneline --all" |
| 80 | + ls |
| 81 | + git add raven.txt |
| 82 | + git commit -m "Surcease of sorrow" |
| 83 | + cat raven.txt |
| 84 | + git branch chesterton |
| 85 | + git branch |
| 86 | + git commit -n "Purple vine" |
| 87 | + git commit -m "Purple vine" |
| 88 | + vi raven.txt |
| 89 | + git commit -m "Nameless" |
| 90 | + git fetch |
| 91 | + git checkout chesterton |
| 92 | + git push --set-upstream origin chesterton |
| 93 | + ll |
| 94 | + git commit -m "Tepid Milk" |
| 95 | + git push |
| 96 | + git pull |
| 97 | + git branch -d chesterton |
| 98 | + git fetch --prune |
| 99 | + git checkout -b chesterton |
| 100 | + git commit -m "Whose curls?" |
| 101 | + git checkout master |
| 102 | + vi ch |
| 103 | + git add . |
| 104 | + git commit -m "Love" |
| 105 | + git merge chesterton |
| 106 | + vi ascetic.txt |
| 107 | + git add ascetic.txt |
| 108 | + git commit |
| 109 | + git lol |
| 110 | + |
0 commit comments