Lmxy1990 ' Blog

git的使用

Git初次使用一般来说就5步.

  1. cd 你的目录 //进入你需要提交的目录.

  2. git init //初始化.

  3. git add * //添加需要提交的文件.

  4. git commit -m “第一次提交” //提交的说明.

  5. git remote add origin https://github.com/lmxy1990/test.git //添加远程仓库地址

  6. git push -u origin master //提交 到主干

坚持原创技术分享,您的支持将鼓励我继续创作!