2
A
回答
0
什么说反对在d1上复制d2然后创建一个新的提交对象? 只是确保你不覆盖你的.git
目录。做备份是一个很好的练习
cp -aT d2 d1
git status
# shows lots of changed files
git add -u # or git add -A depending if you want to add new files as well
git commit -m "committing a whole lot of changes from my untracked directory. i wonder why it got untracked in the first place?"
相关问题
- 1. Git不显示未追踪的目录
- 2. 追踪目录内容
- 3. Google Analytics(分析)未跟踪Wordpress目录
- 4. chrome.filesystem跟踪目录更改
- 5. Git自动跟踪目录
- 6. 如何将未跟踪目录的内容合并到其他分支的根目录
- 7. 在Facebook登录后追踪目标c
- 8. 在github存储库中的未跟踪目录中跟踪文件
- 9. Git在Windows上:为什么我突然有了跟踪的未跟踪目录?
- 10. 跟踪文件中忽略目录
- 11. Debug.startMethodTracing()跟踪文件的目录
- 12. 在app_code目录中的ASP.NET跟踪?
- 13. Node.js:跟踪目录中的新文件
- 14. 自动跟踪目录中的文件
- 15. 如何在.gitignore中快速合并所有未跟踪的文件和目录?
- 16. 的Git目录 - 如何跟踪目录,但没有内容
- 17. python:如何跟踪子目录中的目录中的新目录创建
- 18. 将git跟踪移动到子目录中而无需跟踪同辈
- 19. Git跟踪未追踪的文件,但未添加到提交
- 20. 跟踪追踪错误
- 21. 具体的git-dir目录不应该被列为“未跟踪”
- 22. git reporting check out子目录为未跟踪
- 23. Git中的“未跟踪目录”是什么意思?
- 24. 如何'git status'显示未跟踪目录的内容/文件?
- 25. Git:在未跟踪的构建目录中使用Makefile
- 26. 如何使用Git跟踪目录但不跟踪他们的文件?
- 27. 熊猫失踪目录?
- 28. 如何在git而不是未跟踪的目录中查看未跟踪的文件
- 29. 将未跟踪的文件夹合并到已跟踪的Git存储库
- 30. 跟踪复制到目录中的文件