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

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
主站蜘蛛池模板: 大宁县| 遂平县| 峨边| 武安市| 浦江县| 太和县| 太仓市| 海门市| 闸北区| 吉林省| 沁水县| 吉木萨尔县| 乐平市| 越西县| 嵊泗县| 垦利县| 新和县| 武夷山市| 兴城市| 韶关市| 美姑县| 博客| 肥西县| 北流市| 喀喇| 黔西县| 新竹县| 西贡区| 玛沁县| 土默特右旗| 紫云| 垣曲县| 南安市| 鹤岗市| 三门县| 大姚县| 聂拉木县| 逊克县| 镇赉县| 鄂尔多斯市| 彰化县|