Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Git immersion - a simple git tutorial
(
gitimmersion.com
)
9 points
by
pulleasy
on April 25, 2012
|
hide
|
past
|
favorite
|
4 comments
zengr
on April 27, 2012
|
next
[–]
I am surprised it didn't cover reverting back a file to old version:
1. Check the diff: git diff <commit hash> <file>
2. Revert back: git reset <commit hash> <file>
duck
on April 25, 2012
|
prev
|
next
[–]
This was pretty popular on HN last year:
http://news.ycombinator.com/item?id=2104872
sejje
on April 25, 2012
|
parent
|
next
[–]
Glad it's re-posted. I missed it last year, and it's exactly what I needed. It's making me fairly proficient in a very short time.
MoOmer
on April 25, 2012
|
prev
[–]
I found this on github a while ago:
http://rogerdudler.github.com/git-guide/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
1. Check the diff: git diff <commit hash> <file>
2. Revert back: git reset <commit hash> <file>