mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 11:28:24 +00:00 
			
		
		
		
	Add IsTemplate option in create repo ui and api (#12942)
Signed-off-by: a1012112796 <1012112796@qq.com> Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
		| @@ -48,6 +48,7 @@ func doAPICreateRepository(ctx APITestContext, empty bool, callback ...func(*tes | ||||
| 			Description: "Temporary repo", | ||||
| 			Name:        ctx.Reponame, | ||||
| 			Private:     true, | ||||
| 			Template:    true, | ||||
| 			Gitignores:  "", | ||||
| 			License:     "WTFPL", | ||||
| 			Readme:      "Default", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user