GIT 使用小记

全局设置

PS C:\workspace> git config --global user.name "FreeMan"

PS C:\workspace> git config --global user.email "12323772+wawhy@user.noreply.gitee.com"

PS C:\workspace> git remote add origin https://gitee.com/wawhy/mountain.git

验证连接状态

git remote -v

git add . 添加所有文件到暂存区

git commit -m "提交描述" 提交到本地仓库

git push -u origin master 首次推送代码

相关推荐
无限进步_39 分钟前
21. 合并两个有序链表 - 题解与详细分析
c语言·开发语言·数据结构·git·链表·github·visual studio
宁静致远202139 分钟前
STM32CubeMX、MDK(Keil MDK)、git、vscode等工具中统一编码设置(UTF-8),确保中文支持,避免乱码问题
git·vscode·stm32
love530love9 小时前
Windows 多 Git 环境冲突:一个环境变量优先级引发的血案
人工智能·windows·git·环境变量·scoop
无限进步_12 小时前
面试题 02.04. 分割链表 - 题解与详细分析
c语言·开发语言·数据结构·git·链表·github·visual studio
甲枫叶21 小时前
【claude】Claude Code正式引入Git Worktree原生支持:Agent全面实现并行独立工作
java·人工智能·git·python·ai编程
0xwang1 天前
Deepin25社区版修改Git编码
git
第七序章1 天前
【Linux学习笔记】git三板斧
linux·运维·服务器·笔记·git·学习
三无少女指南1 天前
开发者环境配置最佳实践:编辑器Cursor ,VS Code的上位体验实现 AI 与 WSL 联动
运维·c语言·数据库·windows·git·编辑器
Rhystt1 天前
furryCTF 题解|Web方向|保姆级详解|固若金汤、DeepSleep
git·python·安全·web安全·网络安全
头发那是一根不剩了2 天前
Git 常用命令
git