Basic use git

Creating a warehouse.

First of all I git installed. Right-left git base here, mkdir is a new directory, cd + directory name to switch to the current directory. pwd view the current path is (tips: Try to use the directory name in English)

Initialization, if no-show git directory file folder. With a view to ls -ah

Create a reademe.txt file in the folder. Then git add or git add the file name submitted in English plus point represents an individual file or all submit, git commit 'commit' -m

 

Guess you like

Origin www.cnblogs.com/zypblogs/p/10974936.html