- 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!
- Microsoft Power BI數據可視化與數據分析
- 數亦有道:Python數據科學指南
- Spark大數據分析實戰
- 新基建:數據中心創新之路
- Splunk智能運維實戰
- Power BI智能數據分析與可視化從入門到精通
- Hadoop 3實戰指南
- Gideros Mobile Game Development
- Microsoft Dynamics NAV 2015 Professional Reporting
- 數字化轉型實踐:構建云原生大數據平臺
- 基于數據發布的隱私保護模型研究
- 掌中寶:電腦綜合應用技巧
- 數據分析實踐:專業知識和職場技巧
- Hands-On Big Data Analytics with PySpark
- 醫療大數據分析與應用