git的使用

git的使用

    1、git init
    2、git add .    //  提交到暂存区
    3、git status    // 查看项目的状态
    4、git commit -m "init my project"   // 提交到本地仓库
    5、git remote add origin https://gitee.com/getcharzp/test-git.git
    6、git push -u origin master  (VS中点击 ... 出现的列表中选择push)

原文地址:https://www.cnblogs.com/GetcharZp/p/11772658.html