- 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!
- 虛擬化與云計(jì)算
- MongoDB管理與開發(fā)精要
- 商業(yè)分析思維與實(shí)踐:用數(shù)據(jù)分析解決商業(yè)問(wèn)題
- 數(shù)據(jù)化網(wǎng)站運(yùn)營(yíng)深度剖析
- 大數(shù)據(jù):規(guī)劃、實(shí)施、運(yùn)維
- 智能數(shù)據(jù)分析:入門、實(shí)戰(zhàn)與平臺(tái)構(gòu)建
- 數(shù)據(jù)科學(xué)工程實(shí)踐:用戶行為分析與建模、A/B實(shí)驗(yàn)、SQLFlow
- 重復(fù)數(shù)據(jù)刪除技術(shù):面向大數(shù)據(jù)管理的縮減技術(shù)
- SQL Server 2012數(shù)據(jù)庫(kù)管理教程
- 達(dá)夢(mèng)數(shù)據(jù)庫(kù)運(yùn)維實(shí)戰(zhàn)
- 數(shù)據(jù)庫(kù)原理與應(yīng)用
- 中國(guó)云存儲(chǔ)發(fā)展報(bào)告
- 大數(shù)據(jù)時(shí)代系列(套裝9冊(cè))
- 數(shù)據(jù)賦能
- AI Crash Course