git-switch Questions
8
Solved
Git 2.23 introduces a new command git switch. After reading the documentation, it seems pretty much the same as git checkout <branchname>. What is the difference or use case?
Two new command...
Ikeda asked 30/7, 2019 at 6:46
4
I have just noticed that I can still switch back to a branch after deleting it.
Here is a particular example that I have:
git switch master
git branch -d AB-10/add_flights
...
// deleting also the ...
Cleisthenes asked 8/8, 2022 at 8:48
1
Solved
As everyone knows, git checkout is a very overloaded command. And I do understand that certain commands got introduced to distribute, e.g. to git switch.
Before I used the following commands:
$ git...
Hexamethylenetetramine asked 14/3, 2021 at 20:52
1
© 2022 - 2024 — McMap. All rights reserved.