{"id":13897765,"url":"https://github.com/datwaft/dotfiles","last_synced_at":"2025-04-24T14:31:56.943Z","repository":{"id":44381157,"uuid":"275691719","full_name":"datwaft/dotfiles","owner":"datwaft","description":"My dotfiles","archived":false,"fork":false,"pushed_at":"2025-04-21T14:06:13.000Z","size":546,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-21T15:25:51.198Z","etag":null,"topics":["dotfiles"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datwaft.png","metadata":{"files":{"readme":"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-06-29T00:17:33.000Z","updated_at":"2025-04-21T14:06:16.000Z","dependencies_parsed_at":"2023-02-18T01:01:37.402Z","dependency_job_id":"904724dc-8d9c-45cf-991e-becf8aecff24","html_url":"https://github.com/datwaft/dotfiles","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datwaft%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datwaft%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datwaft%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datwaft%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datwaft","download_url":"https://codeload.github.com/datwaft/dotfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250643467,"owners_count":21464181,"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":["dotfiles"],"created_at":"2024-08-06T18:03:51.445Z","updated_at":"2025-04-24T14:31:56.662Z","avatar_url":"https://github.com/datwaft.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Please read this\n\nThe way this repository uses for storing my dotfiles is with a _bare_ repository. This makes it easy to clone, and it doesn't need to use system links.\n\n\u003e The technique consists in storing a Git bare repository in a \"side\" folder (like `$HOME/.cfg` or `$HOME/.myconfig`) using a specially crafted alias so that commands are run against that repository and not the usual `.git` local folder, which would interfere with any other Git repositories around.\n\n## FAQ (Frequently Asked Questions)\n\n### What are the prerequisites for this?\n\nInstall `git`.\n\n\u003e [!WARNING]\n\u003e If you install `git` using `brew` you will break completion.\n\n### How do I import the dotfiles?\n\nUse this command:\n\n```sh\ngit clone --bare git@github.com:datwaft/dotfiles.git $HOME/.dotfiles\n```\n\n\u003e This will clone the contents of the remote repository (the .git link) to the home directory (~) while referencing ~/.dotfiles as the local bare repository (the `—seperate-git-dir` part).\n\nAfter that add the alias to the current shell scope:\n\n```sh\nalias .git='git --git-dir ~/.dotfiles --work-tree ~'\n```\n\nAnd after that do a checkout to add the files to the home directory:\n\n```sh\n.git checkout\n```\n\n\u003e [!WARNING]\n\u003e Your home directory shouldn't contain any of the dotfiles present inside the directory.\n\n### Where did you get the information for using your dotfiles like this?\n\nHere: \u003chttps://www.atlassian.com/git/tutorials/dotfiles\u003e\n\nAnd Here: \u003chttps://martijnvos.dev/using-a-bare-git-repository-to-store-linux-dotfiles/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatwaft%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatwaft%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatwaft%2Fdotfiles/lists"}