无题
无题
Bin Lian#linux
Git 新学的的几个操作
- 上传的过程:
1 | echo "# Open_raman_mapping" >> README.md |
忽略一些不需要的文件
1 | vi .gitignore |
对于.gitignore
1 | *.csv ##正则匹配文件格式 |
撤销 git add
1 | git rm -r --cached . |
git版本回溯:
将回溯版本增加为下个版本节点:
1 | git revert <版本 ID> |
回溯到该版本并删除接下来的所有版本:
1 | git reset -hard <版本ID> |
查看历次更改及编号
1 | git log |
现版本关联远程仓库
1 | git remote set-url 2024 https://@github.com/ |
1 | git remote set-url <branch-name> https://<token>@github.com/<username>/<proj> |
感谢你赐予我前进的力量|Thank you for your support!
赞赏者名单|List of supporters
因为你们的支持让我意识到写文章的价值🙏
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Bin|Brain|Bin!
评论
匿名评论隐私政策
✅ 你无需删除空行,直接评论以获取最佳展示效果









