vault backup: 2023-08-23 15:31:26
This commit is contained in:
parent
52e000f041
commit
48da37e03a
@ -55,9 +55,14 @@ Then open the project in any merge conflict resolver, and manually resolve the c
|
|||||||
## Working with branches
|
## Working with branches
|
||||||
### Create a new branch
|
### Create a new branch
|
||||||
`git checkout -b [new-branch-name]`
|
`git checkout -b [new-branch-name]`
|
||||||
- Create a new local branch, with `[new-branch-name]`, from the current branch's latest comit
|
- Create a new local branch, with `[new-branch-name]`, from the current branch's latest commit
|
||||||
|
|
||||||
### Switch to an existing branch
|
### Switch to an existing branch
|
||||||
`git checkout [branch-name]`
|
`git checkout [branch-name]`
|
||||||
- Update the directory to contain the code stored in `[branch-name]`
|
- Update the directory to contain the code stored in `[branch-name]`
|
||||||
|
|
||||||
### Delete a branch
|
### Delete a branch
|
||||||
`git branch -d [branch-`
|
`git branch -d [branch-name]`
|
||||||
|
- Delete the specified branch and all stored info
|
||||||
|
|
||||||
|
### Pull a remote branch
|
||||||
|
Loading…
Reference in New Issue
Block a user