- Git Essentials(Second Edition)
- Ferdinando Santacroce
- 132字
- 2021-07-02 15:27:05
Committing the added file
At this point, Git knows about file.txt, but we have to perform another step to fix the snapshot of its content. We have to commit it using the appropriate git commit command. This time, we will add some flavor to our command, using the --message (or -m) subcommand, as shown here:

With the commit of file.txt, we have finally fired up our repository. Having done the first commit (also known as the root-commit, as you can see in the screenshot), the repository now has a master branch with a commit inside it. We will play with branches in the forthcoming chapters. Right now, think of it as a path of our repository, and keep in mind that a repository can have multiple paths that often cross each other.
推薦閱讀
- 數(shù)據(jù)存儲架構(gòu)與技術(shù)
- Effective Amazon Machine Learning
- 大數(shù)據(jù)算法
- 數(shù)據(jù)架構(gòu)與商業(yè)智能
- 達夢數(shù)據(jù)庫性能優(yōu)化
- 數(shù)字媒體交互設計(初級):Web產(chǎn)品交互設計方法與案例
- 數(shù)據(jù)庫設計與應用(SQL Server 2014)(第二版)
- 高維數(shù)據(jù)分析預處理技術(shù)
- 探索新型智庫發(fā)展之路:藍迪國際智庫報告·2015(上冊)
- Spark分布式處理實戰(zhàn)
- 聯(lián)動Oracle:設計思想、架構(gòu)實現(xiàn)與AWR報告
- 從Lucene到Elasticsearch:全文檢索實戰(zhàn)
- 數(shù)據(jù)之美:一本書學會可視化設計
- 領域驅(qū)動設計精粹
- 基于數(shù)據(jù)發(fā)布的隱私保護模型研究