You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
644 B

  1. ┏┓ ┏━┓┏━┓┏┓╻┏━╸╻ ╻╻┏┓╻┏━╸
  2. ┣┻┓┣┳┛┣━┫┃┗┫┃ ┣━┫┃┃┗┫┃╺┓
  3. ┗━┛╹┗╸╹ ╹╹ ╹┗━╸╹ ╹╹╹ ╹┗━┛
  4. Switching between branches with
  5. - $ git switch <branch-name>
  6. - $ git switch -
  7. Cannot switch if that would overwrite modifications
  8. Untracked files will simply "move along"
  9. Delete or rename a branch:
  10. - $ git branch -d <branch-name>
  11. - $ git branch -m <oldbranch> <newbranch>