![]() (specifically the branch.remote and rge configuration entries) so When a local branch is started off a remote-tracking branch, Git sets up the branch Use "git checkout " to switch to the new branch. ![]() ![]() Note that this will create the new branch, but it will not switch the working tree to it The command’s second form creates a new branch head named which points to the With -no-merged onlyīranches not merged into the named commit will be listed. the branches whose tipĬommits are reachable from the named commit) will be listed. With -merged, only branches merged into the named commit (i.e. The branches whose tip commits are descendants of the named commit), -no-contains inverts ![]() With -contains, shows only the branches that contain the named commit (in other words, Note that when providing a, you must use -list otherwise the command If multiple patterns are given, a branch is shown if it matches any of the If a is given, it is used as a shell wildcard to restrict the output to matchingīranches. Remote-tracking branches to be listed, and option -a shows both local and remote branches. The current branch will be highlighted with an asterisk. If -list is given, or if there are no non-option arguments, existing branches are listed Git-branch - List, create, or delete branches
0 Comments
Leave a Reply. |