-
Set up the following directory structure:
./ |-- commands/ |-- conf/ |-- main.conf |-- hooks/
-
Consolidate your global and system git config files into ./conf/main.conf.
-
Run the following command from the top level (root) of the directory structure shown in the previous section.
-
MacOS/Linux
bash <(curl -sL 'https://raw.githubusercontent.com/KamaranL/git-migrate/main/install.sh')
-
Windows
Invoke-WebRequest 'https://raw.githubusercontent.com/KamaranL/git-migrate/main/Install.ps1' -OutFile Install.ps1 ./Install.ps1 -Verbose
-
-
Clean up old directory structure (if necessary)