Leanpub Header

Skip to main content

為你自己學 Git

人生不能重來,但 Git 可以 v1.1

學習不需要為公司、長官或同事,不需要為別人,只為你自己。

網站:https://gitbook.tw/

如果您已經曾購買實體紙本書,為感謝您的支持,您可填寫這個表單,確認後約一至三個工作天內便會給寄給您免費的電子書兌換代碼。

表單:https://ubin.io/git-ebook-form

Minimum price

$7.99

$7.99

You pay

$7.99

Author earns

$6.39
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
12,663
Readers
337
Pages
About

About

About the Book

在周星馳的《大話西遊》電影裡,至尊寶拿著月光寶盒大喊一聲「波若波羅密」便可穿越時空,回到過去救他的娘子;或像動畫《多啦 A 夢》房間抽屜裡時光機,隨時可以回到過去解救世界。Git 這個工具雖然沒辦法真的讓我們可以穿越時空(有的話請一定要讓我知道,我要回到過去買大樂透),但對電腦工作者來說,它就像時光機一樣的神奇,可以讓你回到指定的時間點,或是救回不小心被刪除的檔案。

Git 看起來很容易學(事實上也不算難學),但這只是表象,實際上 Git 是一款讓人一開始覺得很容易學但卻很難精通的工具。坊間的參考書籍或網路資料大多會教大家從終端機指令來學習 Git,這讓不少有興趣想學習的新手打退堂鼓。

我也認同 Git 指令很重要,因為那是整個 Git 的基礎,所以學習在終端機視窗敲打、輸入 Git 指令是必經過程。但是如果可以搭配圖形介面工具(GUI 工具),可以讓這個學習曲線稍微緩和一些。所以本書除了 Git 指令介紹外的同時,也會使用圖形介面工具(本書使用 SourceTree)輔助說明,讓大家更容易上手。

本書在撰寫的時候,即使是很簡單的小地方,也希望可以儘量解釋清楚。希望可以不只可以教大家如何用(How),也能讓大家知道在用什麼(What),以及為什麼(Why)要這樣用。

觀念很重要

很多人,包括我自己也是,在一開始學習 Git 的時候,只覺得它就是簡單的學習 git add 跟 git commit 之類的基本操作指令罷了。但其實這就有如跟冰山一角,沈在水底下的比在浮在水面上的還多,Git 的運作方式遠比這些指令來得複雜得多。所以,如果可以建立正確的觀念,在遇到問題的時候就比較不會疑惑、不知道該用什麼指令來解決。

Share this book

Author

About the Author

高見龍

你好,我是高見龍,是一個喜歡寫程式而且希望可以寫一輩子程式的電腦阿宅。

我從 1998 年開始寫各式各樣的網站應用程式,2009 年的時候因為朋友的介紹開始接觸了開源相關的社群活動,發現這個圈子好多傻子,都無私的貢獻自己的時間跟精力在開源專案跟技術社群上,發現了新玩具就巴不得趕快跟大家分享。當年我實在搞不懂這樣做有什麼好處,所以我就加入大家,看看這些人到底在幹嘛。搞到最後,光是參加社群活動還不過癮,甚至還自己辦活動,就是想認識更多跟我一樣的傻子。

我從社群分享到開班授課已經超過 15 年,近年有寫了幾本技術書籍,比較多人知道的是為你自己學 Git 以及為你自己學 Ruby on Rails,平常也會拍影片或寫文章記錄自己的學習歷程。

https://kaochenlong.com/

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub