Questions tagged «git-switch»

3
git switch和git checkout <branch>有什么区别
Git 2.23引入了一个新命令git switch-阅读文档后,似乎几乎git checkout &lt;branchname&gt;可以与某人解释差异或用例相同? 引入了两个新命令“ git switch”和“ git restore”,以拆分“签出分支以改进其历史记录”和“签出索引之外的路径和/或树状代码以推进当前操作” “ git checkout”命令中删除“历史记录”。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.