Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 1f7c8f9

Browse files
committed
Punctuation, bullet para formatting on 14 & 19 Nov notes [ci skip]
1 parent d2199cd commit 1f7c8f9

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

classnotes/2013-11-14-stanford-git-and-github-intro.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -64,46 +64,45 @@ eventdate: 2013-11-14
6464
### Add and Commit
6565
* `git add -- <filename>`
6666
* `git commit -m 'first commit of why im making this change'`
67-
* This is similar to a shopping cart.
68-
* We have our list of items to buy (working directory changes), and when we find them in the store, we add them to the cart. When we're doing to leave the store,
69-
we go to the register with our items (commit).
67+
* This is similar to a shopping cart.
68+
We have our list of items to buy (working directory changes), and when we find them in the store,
69+
we add them to the cart. When we're leaving the store, we go to the register with our items (commit).
7070

7171
### Diff
72-
* regular slides on this
73-
* <http://teach.github.com/presentations/git-foundations.html#/7/1>
72+
* [GitHub Foundations slides](http://teach.github.com/presentations/git-foundations.html#/7/1)
7473
* Make a change, view it in diff
75-
* add it, view it in diff.
74+
* Add it, view it in diff.
7675

7776
### Log
7877
* Review older things, see the differences between branches
79-
* `git log master..feature1` What is on feature1 that isnt on master
80-
* You may also think of `git log origin/master..master`. what do I have locally that isn't upstream.
81-
* this would only work most accurately after a fetch, origin/master is a branch that's used to track the upstream
78+
* `git log master..feature1` What is on feature1 that isn't on master
79+
* You may also think of `git log origin/master..master`. What do I have locally that isn't upstream.
80+
This would only work most accurately after a fetch, origin/master is a branch that's used to track the upstream
8281

8382
### Push / Pull Request
84-
* send the pull request
83+
* Send the pull request
8584
* Go to `your fork > pull requests > new pull request > recently pushed branches` OR edit the dropdowns on that page.
8685

8786
### Merging
88-
* Often, because I do `git fetch origin` instead of `git pull origin` i manually have to follow up with a `git merge origin/master`
89-
* This can mean conflicts, these conflicts would happen if we did a pull anyways
87+
* Often, because I do `git fetch origin` instead of `git pull origin` I manually have to follow up with a `git merge origin/master`
88+
* This can mean conflicts, these conflicts would happen if we did a pull anyway
9089
* Merges just update your code, something something
9190
* `git merge --abort` to get out of things.
92-
* Manually resolve is the way i do it, it's helpful to do this first to understand the syntax.
91+
* Manually resolve is the way I do it, it's helpful to do this first to understand the syntax.
9392

9493
### Reset
9594
* soft, mixed, hard
9695
* mixed just basically moves things to the working area
9796

9897
### Reflog
99-
* has your back
100-
* records any changes that ever happen to the HEAD file (commits, resets, rebases, checkouts, etc)
101-
* play with `git reset --hard` and see how reflog gets you back to safety
102-
* the reflog itself last 90 days
103-
* the references to hashes that may have been reset and deleted last 30 days
98+
* Has your back
99+
* Records any changes that ever happen to the HEAD file (commits, resets, rebases, checkouts, etc)
100+
* Play with `git reset --hard` and see how reflog gets you back to safety
101+
* The reflog itself last 90 days
102+
* The references to hashes that may have been reset and deleted in the last 30 days
104103

105104
### Stash
106-
* quick saves, shouldnt last longer than 15 minutes.
105+
* Quick saves, shouldn't last longer than 15 minutes.
107106
* `git stash save <keyword>`
108107
* `git stash apply`
109108
* `git stash pop`

classnotes/2013-11-19-nc-state-public-workshop-nov-2013.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ eventdate: 2013-11-19
6363
* Protect your work from experimental changes through branching
6464
* Push code to repositories on GitHub
6565
* Collaborate with colleagues through Pull Requests
66-
* Best Pratices for teams
66+
* Best practices for teams
6767
* Reset and reflog
6868

6969

0 commit comments

Comments
 (0)