fabric-example-mod
fabric-example-mod copied to clipboard
git cli workflow
trafficstars
We'd like to propose the following git CLI workflow for starting a new mod:
mkdir mymod
cd mymod
git init
git pull --allow-unrelated-histories https://github.com/FabricMC/fabric-example-mod/ 1.17
edit LICENSE and README.md
do your stuff here
as well as the following git CLI workflow for updating a mod:
git branch -m 1.16
git checkout -b main
git pull --allow-unrelated-histories https://github.com/FabricMC/fabric-example-mod/ 1.17
fix merge conflicts (mainly with LICENSE and README) and do your stuff here