Giter VIP home page Giter VIP logo

test_01's Introduction

Git介紹

Git是現在非常常聽到的技術之一,其主要功能為解決多人協同合作開發造成相互衝突的問題,同時也解決了在編輯文件或開發程式上版本控制的問題。也因為這個技術,讓全世界程式語言開發速度突飛猛進。
以下這個情境也許你也發生過:同學們間一起趕一份報告,或工作團隊間大家一起合作寫一支程式。不管說好是誰改什麼地方、誰寫什麼地方,但是在最後合併時,不僅有時會搞的一團亂,甚至誰改哪邊都有機會漏掉,造成很多時間的浪費。而Git的出現,這些狀況都不復存在,這套技術就是現今每個人都必備的技術。

從DVCS談起

Git是一套免費開放原始碼的分散式版本控制系統 (Distributed Version Control System,DVCS)

客戶端不只能取得最後一個版本,可以向伺服器端複製完整的數據庫至本地,而當伺服器的檔案損毀時, 可以從任何一個客戶端複製資料還原到伺服器中,每次取出就是備份整個數據庫, 這就是分散式版本控制系統。

##為什麼要版本控制

版本控制是一個能夠記錄一個或一組檔案在某一段時間的變更,

使得客戶端以後能取回特定版本的系統。

##那它跟集中式版本控制系統(Centralized Version Control Systems,CVCS)比有什麼優勢呢?

1.當伺服器發生故障時,還是能本地進行作業

2.當伺服器的數據庫損毀時,其他客戶端能進行備份補救。

##那什麼是 Git 呢?

Git由 Linus Trovalds(Linux之父) ,

為了管理Linux內核而程式碼而開發的,

在眾多的使用者評為DVCS工具中的頂級工具

且Git 是一個快速、可擴展的分布式版本控制系統。

##Git 優點:

*適合分佈式開發

*減輕伺服器壓力和數據量不會太大

*速度快

*任意兩個開發者可以容易解決衝突

*.能離線工作

##Git 缺點:

*程式碼保密性差

前言:

有點像是這篇文章的大綱,你這篇文章叫做「介紹Git」,對於外行人來說,想要了解的是為何需要Git,在什麼狀況下會有Git,動機目的為何。

外面有句話說得好「所謂的專業,是用別人聽得懂的話,說別人不懂的東西」

所以你這篇文章太偏操作面了,我想要的是概念。

-------------------我的心得------------------

git flow可以知道大型專案的分支使用模式,要告訴別人你會了些什麼或是告訴別人你會的東西時,最好的方法就是用情境去模擬,可以快速的讓人知道你想表達什麼,也更好理解。 這次準備的不夠充足,也說明了其實還不夠熟悉git。回家還是要多多熟悉。

test_01's People

Contributors

a65162 avatar cobenash avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.