git 使用随笔

idea上常用命令 提交代码到远程仓库

https://www.cnblogs.com/kaola8023/p/10402447.html

git客户端常用命令

https://www.cnblogs.com/imyalost/p/8762522.html

git 上创建远程仓库

git remote add origin https://github.com/huangsonlin/study 关联远程仓库

git  remote remove origin  ---取消关联

gri add. 加入缓存区间

git commit -m "代码备注"   -----提交代码

git log --- 查看提交记录

仓库地址

记一次:git push 时报错 fatal: unable to access 'https://lisir2@github.com/lisir2/react-study.git/': The requested URL returned error: 403

可能原因公司分配了git默认git账号

1、找到仓库下面的 .git 文件,如果没有的话就是被隐藏了

2、如果 .git 文件被隐藏,设置显示

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容