Answers for "git switch vs checkout"


git switch vs checkout

git checkout has been separated into two to clarify its uses:
- git switch: used to change branches, as git checkout <branchname> does
- git restore:  used to reset files to certain revisions, as git checkout --<path_to_file> does
Posted by: Guest on September-08-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language