SuperAPI AI Directory

mir-private-mir

General & other

View repository

Updated 10-16 08:33

About this skill

private-mir

A skill that configures the .mir directory so that only you can use it and it is not included in git.

Trigger

Use this when the user says "I don't want .mir included in git," "I want to use it only myself," or "I don't want to show it to team members."

Procedure

  1. .mir so that is not committed to git, .git/info/exclude append to
    echo ".mir" >> .git/info/exclude
    
  2. If .mir is already tracked by git, untrack it
    git rm -r --cached .mir
    
  3. Check whether the settings were applied correctly
    git status
    

Notes

  • .gitignore に .mir The method of adding isnot used(the team's .gitignore so as not to pollute it)
  • .git/info/exclude is effective only locally and does not affect other members
  • If there is .mir that has already been committed,git rm --cached tell the user that is not deleted from history