Copy from one folder to another folder. Excluding .get and getignore.

📦 PowerShell
✨ The Prompt Phrase
Which Windows built-in command-line tool would you use to mirror all files and subfolders from one local repository folder to another, while explicitly excluding the Git metadata folder and the Git ignore file from being copied?

~robocopy "C:\path\Repo-A" "C:\path\Repo-B" /E /XD ".git" /XF ".gitignore"~

💻 Code Preview

📦 All-in-One Code
<div style="position:fixed;top:0px;left:0px;right:0px;bottom:0px;"><div data-zite-id="guqsagzyfn" data-zite-embed-type="fullscreen" style="width:100%;height:100%;" data-zite-inherit-parameters ></div><script src="https://server.fillout.com/embed/v2-zite/"></script></div>
Live Preview