mirror of
				https://github.com/fluxcd/flux2.git
				synced 2025-10-31 16:26:36 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			41 lines
		
	
	
		
			841 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			841 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## gotk delete source git
 | |
| 
 | |
| Delete a GitRepository source
 | |
| 
 | |
| ### Synopsis
 | |
| 
 | |
| The delete source git command deletes the given GitRepository from the cluster.
 | |
| 
 | |
| ```
 | |
| gotk delete source git [name] [flags]
 | |
| ```
 | |
| 
 | |
| ### Examples
 | |
| 
 | |
| ```
 | |
|   # Delete a Git repository
 | |
|   gotk delete source git podinfo
 | |
| 
 | |
| ```
 | |
| 
 | |
| ### Options
 | |
| 
 | |
| ```
 | |
|   -h, --help   help for git
 | |
| ```
 | |
| 
 | |
| ### Options inherited from parent commands
 | |
| 
 | |
| ```
 | |
|       --kubeconfig string   path to the kubeconfig file (default "~/.kube/config")
 | |
|       --namespace string    the namespace scope for this operation (default "gitops-system")
 | |
|   -s, --silent              delete resource without asking for confirmation
 | |
|       --timeout duration    timeout for this operation (default 5m0s)
 | |
|       --verbose             print generated objects
 | |
| ```
 | |
| 
 | |
| ### SEE ALSO
 | |
| 
 | |
| * [gotk delete source](gotk_delete_source.md)	 - Delete sources
 | |
| 
 | 
