DROP GIT REPOSITORYÂļ
Removes the specified Snowflake Git repository clone from the current/specified schema.
- See also:
ALTER GIT REPOSITORY, CREATE GIT REPOSITORY, DESCRIBE GIT REPOSITORY, SHOW GIT BRANCHES, SHOW GIT REPOSITORIES, SHOW GIT TAGS
SyntaxÂļ
DROP GIT REPOSITORY [ IF EXISTS ] <name>
ParametersÂļ
name
Specifies the identifier for the Git repository clone to drop.
If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
For more information, see Identifier requirements.
Usage notesÂļ
Dropped Git repositories canât be recovered; they must be recreated.
When the IF EXISTS clause is specified and the target object doesnât exist, the command completes successfully without returning an error.
ExamplesÂļ
DROP GIT REPOSITORY my_repository;+-------------------------------------+ | status | +-------------------------------------+ | MY_REPOSITORY successfully dropped. | +-------------------------------------+