{"id":19017320,"url":"https://github.com/beiertu-mms/dotfiles","last_synced_at":"2025-07-14T20:41:34.747Z","repository":{"id":43453955,"uuid":"278569565","full_name":"beiertu-mms/dotfiles","owner":"beiertu-mms","description":"Linux configuration files being versioning via git bare repository.","archived":false,"fork":false,"pushed_at":"2025-06-16T05:38:42.000Z","size":4291,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-16T06:29:03.918Z","etag":null,"topics":["bare","configuration","dotfiles","git","linux","repository"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beiertu-mms.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-07-10T07:34:23.000Z","updated_at":"2025-06-16T05:38:45.000Z","dependencies_parsed_at":"2023-02-11T21:31:00.056Z","dependency_job_id":"e3d61e4e-9d9c-43da-9fb3-e07fcec9d46a","html_url":"https://github.com/beiertu-mms/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beiertu-mms/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beiertu-mms%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beiertu-mms%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beiertu-mms%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beiertu-mms%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beiertu-mms","download_url":"https://codeload.github.com/beiertu-mms/dotfiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beiertu-mms%2Fdotfiles/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265345225,"owners_count":23750571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bare","configuration","dotfiles","git","linux","repository"],"created_at":"2024-11-08T19:46:38.491Z","updated_at":"2025-07-14T20:41:34.723Z","avatar_url":"https://github.com/beiertu-mms.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/jglovier/dotfiles-logo/blob/main/dotfiles-logo.png\" alt=\"dotfiles logo\" width=\"400\"\u003e\u003c/p\u003e\n\n\u003cdiv style=\"text-align: center;\"\u003e\n\n  \u003ca href=\"https://github.com/beiertu-mms/dotfiles/blob/master/.github/LICENSE.txt\"\u003e![GitHub](https://img.shields.io/github/license/beiertu-mms/dotfiles?style=flat-square)\u003c/a\u003e\n  \u003ca href=\"https://github.com/beiertu-mms/dotfiles/actions/workflows/linter.yaml\"\u003e![GitHub](https://img.shields.io/github/actions/workflow/status/beiertu-mms/dotfiles/linter.yaml?style=flat-square)\u003c/a\u003e\n\n\u003c/div\u003e\n\nMy dotfiles setup using [git](https://git-scm.com/) bare repository functionality.\n\n- Table of contents\n  - [Prerequisites](#prerequisites)\n  - [Set up from scratch](#set-up-from-scratch)\n  - [Install the dotfiles on a new machine](#install-the-dotfiles-on-a-new-machine)\n  - [Credits](#credits)\n  - [License](#license)\n\n## Prerequisites\n\n- git\n- rsync (to set up a new machine)\n\n## Set up from scratch\n\n1. Create a placeholder for git internal files  \n\n```sh\nmkdir -p ~/dotfiles\n```\n\n2. Initialize the bare repository  \n\n```sh\ngit init --bare ~/dotfiles\n```\n\n3. Create an alias to interact with the dotfiles  \n\n```sh\nalias dot='git --git-dir=~/dotfiles/ --work-tree=$HOME'\n```\n\nSo now instead of `git add` or `git status`, use `dot add`, `dot status` etc.\n\n4. Configure git to ignore all files by default  \n\n```sh\ndot config --local status.showUntrackedFiles no\n```\n\n5. Now you are ready to track your dot files.  \n\n**Note:** To see which files are currently being tracked, use \n\n```sh\ndot ls-tree -r master --name-only\n```\n\n## Install the dotfiles on a new machine\n\n1. Clone to a temporary folder  \n\n```sh\ngit clone --separate-git-dir=~/dotfiles \u003cremote-git-url\u003e tmp-dotfiles\n```\n\n2. Synchronize the files  \n\n```sh\nrsync --recursive --verbose --exclude '.git' tmp-dotfiles/ ~/\n```\n\n3. Remove the temporary folder  \n\n```sh\nrm -rf tmp-dotfiles\n```\n\n## Credits\n\n- [dotfiles image](https://github.com/jglovier/dotfiles-logo/blob/main/dotfiles-logo.png) by [Joel Glovier](https://github.com/jglovier)\n\n## License\n\nDistributed under the MIT License. See [LICENSE.txt](./LICENSE.txt) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeiertu-mms%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeiertu-mms%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeiertu-mms%2Fdotfiles/lists"}