Git
Git create branch
new_branch_name
– is a name of your branchfrom_branch
– is a name of branch from which need to create new branch, could be empty, in that case will be used the current branch
Git delete branch
Git delete local branch
Syntax
Example
Git delete remote branch
Syntax
Example
Git pipeline to rebase
If you're on the branch feature_x
and you need to pull changes from the main
branch, then the next example will be useful
Git squash my last commits
Links
Last updated