git local create, delete, branch and remotely create, delete branches

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed.
Here are a few of the basic operation git

Create a local branch, pull back and follow the code on which remote branch:

Here Insert Picture Description

Check local branch:

Here Insert Picture Description
The results are:
Here Insert Picture Description

Delete local branch:

1. First, switch to the master branch:
Here Insert Picture Description
If you do not switch to the master branch, is unable to delete the local branch;
2. delete operation
Here Insert Picture Description

Create a distal branch (just push it once, of course, also be created directly at the remote end)

Here Insert Picture Description

View remote branch:

Here Insert Picture Description
Here Insert Picture Description

Delete remote branch:

Here Insert Picture Description

Guess you like

Origin blog.csdn.net/sinat_41747081/article/details/91048764
Recommended