Add the branch
git branch
Git branch test1.0Copy the code
Switch branch
git checkout
Git checkout test1.0Copy the code
Add branches and switch
git checkout -b
Git checkout - test1.0 bCopy the code
View all branches
git branch
$git branch * Master test1.0Copy the code
Delete the branch
git branch -d
Git branch - d test1.0Copy the code
Merging branches
Merge into the trunk.
git merge
Git merge test1.0Copy the code
Submit branch
git push origin
Git push origin test1.0Copy the code
View branch differences
git diff
Git diff master test1.0Copy the code
Recommended reading
Dry goods: 2TB architect four-stage video tutorial
Interview: the most complete Java multithreaded interview questions and answers
Interview: the most comprehensive ali advanced Java interview questions in history
Interview: The most complete Spring interview questions in history
Tutorial: The most complete Spring Boot complete video tutorial
Books: 15 must-read books for advanced Java architects
Tools: Recommended an online creation flow chart, mind mapping software
Share Java dry goods, high concurrency programming, hot technology tutorials, microservices and distributed technology, architecture design, blockchain technology, artificial intelligence, big data, Java interview questions, and cutting-edge hot news.