fabric-example-mod icon indicating copy to clipboard operation
fabric-example-mod copied to clipboard

git cli workflow

Open SoniEx2 opened this issue 4 years ago • 0 comments
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

SoniEx2 avatar Sep 18 '21 15:09 SoniEx2