不想commit 又想拉取代码

git stash 可用来暂存当前正在进行的工做, 好比想pull 最新代码, 又不想加新commit, 或者另一种状况,为了fix 一个紧急的bug,  先stash, 使返回到本身上一个commit, 改完bug以后再stash pop, 继续原来的工做。 基础命令: $git stash $do some work $git stash popgit 进阶: app Git stash sa
相关文章
相关标签/搜索