Source Control

  • check out : to switch branches

  • Create a new branch from the current branch with uncommitted changes and your changes become part of the new branch.

  • You canโ€™t switch to another branch if you have uncommitted changes, so commit your changes or stash (Source Control > Stash Changes) them before switching to another branch.

ๆต็จ‹๏ผš

  • new branch from main => commit

  • check out main => merge into main => push

M: modified

A: added

R: renamed ?

Last updated