技术栈

GIT 使用小记

hjm47021922025-04-25 8:08

全局设置

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 首次推送代码

上一篇:mysql日常巡检
下一篇:HOW - Code Review 流程自动化
相关推荐
Bigger
9 小时前
为什么你的 Git 提交需要签名?—— Git Commit Signing 完全指南
git·开源·github
DianSan_ERP
1 天前
电商API接口全链路监控:构建坚不可摧的线上运维防线
大数据·运维·网络·人工智能·git·servlet
红豆子不相思
1 天前
Tomcat 环境搭建与集群实战
服务器·git·tomcat
杰哥技术分享
1 天前
Git 仓库迁移技术文档:从 CODING.net 迁移至腾讯云 CNB
git
梅孔立
1 天前
Ansible 100 台服务器一键管控实战 进阶版
服务器·git·ansible
qq_42600396
2 天前
git切换当前分支到远程分支
git
ON10N
2 天前
100% 纯 Vibe Coding,我是怎么用 AI 撸出一个 VS Code 插件的
git·ai编程·visual studio code
Lunar*
2 天前
告别臃肿!使用 git-filter-repo 优雅清理 Git 历史记录
git
tq1086
2 天前
agent 记忆 = markdown + json + git
人工智能·git
何以不说话
2 天前
DevOps、Git 和 GitLab
git·gitlab·devops
热门推荐
01GitHub 镜像站点02【OpenClaw 本地实战 Ep.3】突破瓶颈:强制修改 openclaw.json 解锁 32k 上下文记忆03OpenClaw 使用和管理 MCP 完全指南04AI 规范驱动开发“三剑客”深度对比:Spec-Kit、Kiro 与 OpenSpec 实战指南05Claude Code + GLM4.7 避坑指南:解决 Unable to connect to Anthropic services06Clawdbot部署教程:解决‘gateway token missing’授权问题的完整步骤07AI Agent 平台横评:ZeroClaw vs OpenClaw vs Nanobot08Window 10部署openclaw报错node.exe : npm error code 12809让 Trae IDE 智能体 “读懂”文档 Excel+PDF+DOCX :mcp-documents-reader 工具使用指南10AI agent:介绍 ZeroClaw 安装,使用