Home / Keptn v1 Docs / Release 0.15.x / Reference / Keptn CLI / Commands / keptn update project
Updates an existing Keptn project
Updates an existing Keptn project with the provided name.
Updating a shipyard file is not possible.
By executing the update project command, Keptn will add the provided upstream repository to the existing internal Git repository that is used to maintain all project-related resources. To upstream this internal Git repository to a remote repository, the Git user (–git-user), an access token (–git-token), and the remote URL (–git-remote-url) are required.
For more information about updating projects or upstream repositories, please go to Manage Keptn
keptn update project PROJECTNAME --git-user=GIT_USER --git-token=GIT_TOKEN --git-remote-url=GIT_REMOTE_URL [flags]
keptn update project PROJECTNAME --git-user=GIT_USER --git-token=GIT_TOKEN --git-remote-url=GIT_REMOTE_URL
-r, --git-remote-url string The remote url of the upstream target
-t, --git-token string The git token of the git user
-u, --git-user string The git user of the upstream target
--config-file string Specify custom Keptn Config file path (default: ~/.keptn/config)
-h, --help help
--mock Disables communication to a Keptn endpoint
-n, --namespace string Specify the namespace where Keptn should be installed, used and uninstalled in (default "keptn")
-q, --quiet Suppresses debug and info messages
-v, --verbose Enables verbose logging to print debug messages
-y, --yes Assume yes for all user prompts