https://github.com/adonyssantos/git-config-sync
⚙️ Synchronizing local config files with with any Git cloud services like GitHub, GitLab or BitBucket ☁️
https://github.com/adonyssantos/git-config-sync
bash-script git-config-sync javascript palm-tree palm-tree-css sync-config typescript
Last synced: 11 months ago
JSON representation
⚙️ Synchronizing local config files with with any Git cloud services like GitHub, GitLab or BitBucket ☁️
- Host: GitHub
- URL: https://github.com/adonyssantos/git-config-sync
- Owner: adonyssantos
- Created: 2021-02-27T00:17:43.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-05T22:09:37.000Z (about 2 years ago)
- Last Synced: 2025-05-22T11:22:50.598Z (11 months ago)
- Topics: bash-script, git-config-sync, javascript, palm-tree, palm-tree-css, sync-config, typescript
- Homepage:
- Size: 22.5 KB
- Stars: 39
- Watchers: 2
- Forks: 39
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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