add branch to basic auth example

Without a reference specified, the create command will fail. 

Signed-off-by: David Harris <david.harris@weave.works>
This commit is contained in:
David Harris 2022-06-27 21:08:48 +01:00 committed by GitHub
parent 3cef177e24
commit 95eb7aede0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,