Instead of | Do this |
git checkout {file} | git restore {file} |
git checkout {branch} | git switch {branch} |
git checkout -b {newbranch} | git switch -c {newbranch} |
git push --force | git push --force-with-lease |
Adventures in Computer Programming – bakert@gmail.com
Instead of | Do this |
git checkout {file} | git restore {file} |
git checkout {branch} | git switch {branch} |
git checkout -b {newbranch} | git switch -c {newbranch} |
git push --force | git push --force-with-lease |