git 基础操作

//关联到线上库

git remote add origin https://github.com/***/***.git

//查看提交状态

 

git status

//添加没有提交的文件

git add .

//提交

 

git commit -m "feat: initial commit"

//push到git库

git push -u origin master

posted @ 2021-06-02 14:29  faint33  阅读(20)  评论(0)    收藏  举报