- Git Essentials(Second Edition)
- Ferdinando Santacroce
- 229字
- 2021-07-02 15:27:04
Running our first Git command
From now on, as a matter of convenience, we will use Windows as our platform of reference. Our screenshots will always refer to that platform. In any case, all the Git main commands we will use will work on the platforms we have previously mentioned anyway.
It's time to test our installation. Is Git ready to rock? Let's find out!
Using shell integration, right-click on an empty place on the desktop and choose the new menu item Git Bash Here. It will appear as a new MinTTY shell, providing you a Git-ready bash for Windows:

This is a typical Bash prompt: we can see the user, nando, and the host, computer. Then there's a MINGW64 string, which refers to the actual platform we are using, called Minimalist GNU for Windows (see http://www.mingw.org), and at the end we find the actual path, in a more *nix fashion, /c/Users/nando. Later, we will look at this argument in more detail.
Now that we have a new, shiny Bash prompt, simply type git (or the equivalent, git --help), as shown in the following screenshot:

If Git has been installed correctly, typing git without specifying anything else will result in a short help page, with a list of common commands (if not, try reinstalling Git).
So, we have Git up and running! Are you excited? Let's begin to type!
- 數據要素安全流通
- 大規模數據分析和建模:基于Spark與R
- Python金融大數據分析(第2版)
- 大話Oracle Grid:云時代的RAC
- 深入淺出 Hyperscan:高性能正則表達式算法原理與設計
- 圖數據實戰:用圖思維和圖技術解決復雜問題
- 重復數據刪除技術:面向大數據管理的縮減技術
- 一本書講透Elasticsearch:原理、進階與工程實踐
- SQL Server深入詳解
- 爬蟲實戰:從數據到產品
- 區塊鏈+:落地場景與應用實戰
- Internet of Things with Python
- 數據庫原理與設計實驗教程(MySQL版)
- MySQL數據庫應用與管理
- Microsoft Dynamics NAV 2015 Professional Reporting