git commonly used command-line summary

Tools: gitlab

1 Create a remote branch, local trace the remote branch, so that the code can be submitted and development based on the branch

  a remote repository to create a new branch, such as: dev_0.1

  b local execution: git checkout -b dev_0.1

  c 追踪: git branch -set-upstream-to=origin/dev_0.1 dev_0.1

Guess you like

Origin www.cnblogs.com/leeguang/p/11525349.html