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

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
主站蜘蛛池模板: 天津市| 达尔| 稷山县| 莱阳市| 清原| 买车| 嘉峪关市| 宁蒗| 泽普县| 庄浪县| 洛川县| 余庆县| 施甸县| 永胜县| 庆元县| 克什克腾旗| 澳门| 巨鹿县| 丹寨县| 全州县| 吉安市| 清河县| 大足县| 乐安县| 金平| 双桥区| 宜都市| 鲜城| 鲁甸县| 建平县| 沭阳县| 东莞市| 普洱| 漳州市| 焉耆| 瓮安县| 繁昌县| 万盛区| 清丰县| 安岳县| 嘉义县|