how should you share new json snippets in github?

OlgaBOlgaB Posts: 2 New member
The new sql prompt update adds an id to the name of the snippet json file that is different for each person on my team. So everyone's local filenames are different. Is there a way to prevent this?
Tagged:

Best Answer

  • ostandageostandage Posts: 75 Silver 1
    Hi @OlgaB

    While we do not officially support this use case, this should solve your problem:
    1. Check in the new json files from one machine to your repository.
    2. Delete the snippets from the other computers.
    3. Pull down the new files from git on the other computers.
    Once a snippet is created, the id doesn't change so there would be no problem editing them on different machines etc.

    Thanks,

    Owen
    Software Engineer
    SQL Prompt / SQL Search

Answers

Sign In or Register to comment.