git-config-sync
git-config-sync copied to clipboard
⚙️ Synchronizing local config files with with any Git cloud services like GitHub, GitLab or BitBucket ☁️
trafficstars
Config
Sync git config
To sync the local repository and the .gitconfig use:
- Unix/Linux:
ln ./git-config/.gitconfig .gitconfig - Windows:
mklink .gitconfig ./git-config/.gitconfig
Reference:
- https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mklink
- https://stackoverflow.com/questions/48021975/linux-command-for-rmdir-and-mklink
- http://manpages.ubuntu.com/manpages/xenial/man1/ln.1.html