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