官术网_书友最值得收藏!

Initializing Git

The first thing we need to do to use Git, after installing it of course, is to set up a folder as our Git repository. This only takes a couple of commands on the command line, as shown here:

After that, we move to the folders where we want the repository to be, that is, git init and git add. Once we've initialized the repository, we add any files that we've already created to it with the git add command. Then, we create our first safe point in the code with the git commit -a command, as shown here:

git commit -a
主站蜘蛛池模板: 抚顺市| 建湖县| 河南省| 阿拉尔市| 邢台县| 久治县| 林周县| 泉州市| 新和县| 汝阳县| 通化县| 黔江区| 揭西县| 高邮市| 定西市| 连城县| 平定县| 浦城县| 海口市| 桃园市| 钟祥市| 图木舒克市| 南江县| 平利县| 湟中县| 巴彦淖尔市| 邻水| 同江市| 南康市| 隆昌县| 武清区| 大冶市| 华亭县| 凉城县| 孙吴县| 井陉县| 临沧市| 黄平县| 从江县| 珲春市| 栾川县|