how to use git checkout -b

Để tạo một  local branch mới và checkout tới remote đó luôn thì dùng


$ git checkout -b iss53

Switched to a new branch 'iss53'


----------------------------------
This is shorthand for:

$ git branch iss53

$ git checkout iss53

Comments

Popular posts from this blog

Fixing the DeepSpeed Import Error While Fine-Tuning the Qwen Model

Amazon Linux 2023 - User data configuration for launch templates to connect to the EKS cluster

How to create ISM policy and rotate logs in opensearch