如何 git checkout出去已经push了的文件

2025-04-29 23:30:11
推荐回答(1个)
回答1:

把顽固文件夹删掉 然后checkout 就好了 强迫症终于解决了
it 有顽固的文件夹 怎么也checkout不掉 push 也还在

Your branch is ahead of 'origin/master' by 161 commits.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)

modified: library (modified content)

no changes added to commit (use "git add" and/or "git commit -a")

老是说我修改了 但是我没有修改
已经关闭了文件权限修改