From 95eb7aede0ec644b0b74a8e561a99ab419b07e33 Mon Sep 17 00:00:00 2001 From: David Harris Date: Mon, 27 Jun 2022 21:08:48 +0100 Subject: [PATCH] add branch to basic auth example Without a reference specified, the create command will fail. Signed-off-by: David Harris --- cmd/flux/create_source_git.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/flux/create_source_git.go b/cmd/flux/create_source_git.go index 9dba83ef..c5cb9e1a 100644 --- a/cmd/flux/create_source_git.go +++ b/cmd/flux/create_source_git.go @@ -117,6 +117,7 @@ For private Git repositories, the basic authentication credentials are stored in # Create a source for a Git repository using basic authentication flux create source git podinfo \ --url=https://github.com/stefanprodan/podinfo \ + --branch=master \ --username=username \ --password=password`, RunE: createSourceGitCmdRun,