We use git commands in the day to day work, below are the most common git commands I could think of.
- Create a new branch
- Switch to the new branch
- git checkout <branchName>
- Create a new branch and switch to it
- git checkout -b <branchName>
- Track updates from remote branches but not pull in
Git - The most common git commands in the day-to-day work
原文:https://www.cnblogs.com/iloverabbit/p/8587034.html