Git is a version control Swiss army knife. A reliable versatile multipurpose revision control tool whose extraordinary flexibility makes it tricky to learn, let alone master. As Arthur C. Clarke observed, any sufficiently advanced technology is indistinguishable from magic. This is a great way to approach Git: newbies can ignore its inner workings and view Git as a gizmo that c...
Git is a version control Swiss army knife. A reliable versatile multipurpose revision control tool whose extraordinary flexibility makes it tricky to learn, let alone master. As Arthur C. Clarke observed, any sufficiently advanced technology is indistinguishable from magic. This is a great way to approach Git: newbies can ignore its inner workings and view Git as a gizmo that can amaze friends and infuriate enemies with its wondrous abilities. Rather than describe one mysterious command after another, we provide recipes for typical workflows. After repeated use, you will inevitably gain proficiency with Git.
目录
· · · · · ·
Preface
Thanks!
License
1. Introduction
Work is Play
Version Control
· · · · · ·
(更多)
Preface
Thanks!
License
1. Introduction
Work is Play
Version Control
Distributed Control
A Silly Superstition
Merge Conflicts
2. Basic Tricks
Saving State
Add, Delete, Rename
Advanced Undo/Redo
Reverting
Changelog Generation
Downloading Files
The Bleeding Edge
Instant Publishing
What Have I Done?
Exercise
3. Cloning Around
Sync Computers
Classic Source Control
Bare repositories
Push versus pull
Forking a Project
Ultimate Backups
Light-Speed Multitask
Guerilla Version Control
Mercurial
Bazaar
Why I use Git
4. Branch Wizardry
The Boss Key
Dirty Work
Quick Fixes
Merging
Uninterrupted Workflow
Reorganizing a Medley
Managing Branches
Temporary Branches
Work How You Want
5. Lessons of History
I Stand Corrected
… And Then Some
Local Changes Last
Rewriting History
Making History
Where Did It All Go Wrong?
Who Made It All Go Wrong?
Personal Experience
6. Multiplayer Git
Who Am I?
Git Over SSH, HTTP
Git Over Anything
Patches: The Global Currency
Sorry, We’ve Moved
Remote Branches
Multiple Remotes
My Preferences
7. Git Grandmastery
Source Releases
Commit What Changed
My Commit Is Too Big!
The Index: Git’s Staging Area
Don’t Lose Your HEAD
HEAD-hunting
Building On Git
Daring Stunts
Preventing Bad Commits
8. Secrets Revealed
Invisibility
Integrity
Intelligence
Indexing
Git’s Origins
The Object Database
Blobs
Trees
Commits
Indistinguishable From Magic
A. Git Shortcomings
SHA1 Weaknesses
Microsoft Windows
Unrelated Files
Who’s Editing What?
File History
Initial Clone
Volatile Projects
Global Counter
Empty Subdirectories
Initial Commit
Interface Quirks
B. Translating This Guide
· · · · · · (收起)
0 有用 灭灭 2012-11-30 02:18:12
覆盖基本功能
1 有用 老伐开心 2013-03-10 03:14:23
不完整的感觉,没有简化版的感觉,像残缺版,但40页,时间上无损失
0 有用 Juude 2012-11-14 00:38:56
一般般
0 有用 自言自语 2015-04-24 16:51:43
感觉只需要看部分章节...本来也不长...
0 有用 Amadeus 2022-05-30 19:51:47
类比很巧妙,定位很尴尬。小朋友看不懂。UBC master of data science的课件我更喜欢。happy git!