- 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.
推薦閱讀
- 圖解機器學習算法
- Python數據分析:基于Plotly的動態可視化繪圖
- Creating Dynamic UIs with Android Fragments(Second Edition)
- MySQL 8.x從入門到精通(視頻教學版)
- 網站數據庫技術
- INSTANT Apple iBooks How-to
- SQL Server 2012數據庫管理教程
- 新手學會計(2013-2014實戰升級版)
- 區域云計算和大數據產業發展:浙江樣板
- The Natural Language Processing Workshop
- 區塊鏈應用開發指南:業務場景剖析與實戰
- 數據挖掘與數據化運營實戰:思路、方法、技巧與應用
- SQL Server 數據庫教程(2008版)
- 數據可視化五部曲
- MySQL 8.0從入門到實戰