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

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
主站蜘蛛池模板: 嫩江县| 宝丰县| 万年县| 思南县| 溧水县| 常山县| 嘉峪关市| 沙坪坝区| 马边| 大竹县| 北辰区| 大余县| 朔州市| 星座| 齐齐哈尔市| 鹰潭市| 绥棱县| 察隅县| 宜阳县| 吐鲁番市| 玛纳斯县| 博爱县| 化隆| 资阳市| 汉阴县| 承德市| 新乐市| 深水埗区| 长寿区| 图木舒克市| 沿河| 交口县| 绥滨县| 上栗县| 布拖县| 南涧| 东丽区| 包头市| 营口市| 盐城市| 林周县|