git提交随笔

1、在项目目录下打开git bash here

2、git init命令生成.git

3、添加.gitignore配置

4、git status -s查看文件状态

5、git commit -m ‘文件描述’

6、做别名:git remote add 项目名 https://gitee.com/jiangdaqi/nginxAndDomaincross.git

7、push操作:git push -u 项目名 master

原文地址:https://www.cnblogs.com/helloNico/p/10869468.html