from github to this gitea

This commit is contained in:
oscar.plaisant@icloud.com
2023-10-23 23:09:51 +02:00
commit a2ee0fa5ca
2898 changed files with 307871 additions and 0 deletions

21
git create branch.md Normal file
View File

@@ -0,0 +1,21 @@
---
alias: "create branch"
name: "create branch"
---
up::[[Git Branches]]
title::"`git checkout -b <branch_name>` create and switch to", "`git branch <branch_nam>` create but don't switch"
#informatique
----
Create branch and switch to that new branch
```bash
$> git checkout -b <branch_name>
Switched to new branch '<branch_name>'
```
Create branch but don't switch to that new branch
```bash
$> git branch -b <branch_name>
```