摘要:
git stash 作用是将当前分支改动的代码存放到暂存区中,还原当前分支的改动,可以成功切换到其他待改动分支; 保存当前分支改动代码到暂存区,并备注 xxxx git stash save "xxxx" 查询当前git项目下所有在暂存区的列表 git stash list 恢复暂存区列表的第一条到 阅读全文
posted @ 2025-10-29 14:57
哈喽小伙
阅读(8)
评论(0)
推荐(0)
摘要:
git基础命令 命令 含义 备注 git init 初始化代码由git管理 git status 查看更改的文件状态 git fetch 预拉取远程代码 git pull 拉取远程仓库代码 git add 将代码放入暂存区 git commit -m 将暂存区代码提交到本地分支,并备注commit描 阅读全文
posted @ 2025-10-29 14:56
哈喽小伙
阅读(3)
评论(0)
推荐(0)

浙公网安备 33010602011771号