git tips
This commit is contained in:
16
git/overall.md
Normal file
16
git/overall.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
### Miscellaneous practical things with the git command
|
||||||
|
## Big files
|
||||||
|
# For some git repos like LLMs you may need to pull with
|
||||||
|
```
|
||||||
|
git lfs pull
|
||||||
|
```
|
||||||
|
|
||||||
|
## to switch to a branch
|
||||||
|
# An existing branch
|
||||||
|
```
|
||||||
|
git switch 'branch'
|
||||||
|
```
|
||||||
|
# A new branch
|
||||||
|
```
|
||||||
|
git switch -c 'branch'
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user