Git基础管理_UnityUpm包制作

git init 
git add . 
git commit -m "提交描述" 
git branch -M main 
git remote add origin https://github.com/WenQinNing/TempTest.git
git push -u origin main 
git subtree split --prefix=Assets/DebugUI --branch upm 
git tag 1.0.0 upm 
git push origin upm --tags 
git add . 
git commit -m "提交描述" 
git push -u origin main 
git subtree split --prefix=Assets/DebugUI --branch upm 
git tag 1.0.2 upm 
git push origin upm --tags
{
  "dependencies": {
    "com.unity.example": "https://github.com/WenQinNing/TestDebugUI.git#1.0.0"
  }
}
"com.iyourcar.debugui": "https://github.com/WenQinNing/TestDebugUI.git#1.0.2",
上一篇:git-16-删除标签


下一篇:Git常用命令备忘