Added congituration txt file
This commit is contained in:
parent
601e36ccff
commit
ab306d1a4d
28
howTo.txt
Normal file
28
howTo.txt
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
# 1) Rename local branch master -> main
|
||||||
|
git branch -m master main
|
||||||
|
|
||||||
|
# 2) Push local main and overwrite remote main
|
||||||
|
git push -u origin main --force
|
||||||
|
|
||||||
|
# 3) (Optional) delete remote master branch
|
||||||
|
git push origin --delete master
|
||||||
|
|
||||||
|
|
||||||
|
#git lfs install
|
||||||
|
Sets up Git hooks so LFS works in this repo / user.
|
||||||
|
|
||||||
|
bash
|
||||||
|
Copy code
|
||||||
|
git lfs track "*.step"
|
||||||
|
Tells Git: “for all files matching *.step, store them using LFS”.
|
||||||
|
|
||||||
|
This writes a .gitattributes file.
|
||||||
|
|
||||||
|
Then normal Git workflow:
|
||||||
|
|
||||||
|
bash
|
||||||
|
Copy code
|
||||||
|
git add .gitattributes
|
||||||
|
git add model.step
|
||||||
|
git commit -m "Add model"
|
||||||
|
git push
|
||||||
Loading…
Reference in a new issue