~vallode/vallode-com

72983394235f2c5c56d8d6671d24dcb30c7f283f — vallode 1 year, 4 months ago d44247a
Fix git init sentence in dotfiles
1 files changed, 1 insertions(+), 1 deletions(-)

M content/posts/2022-01-22-dotfiles.md
M content/posts/2022-01-22-dotfiles.md => content/posts/2022-01-22-dotfiles.md +1 -1
@@ 15,7 15,7 @@ First, we will initialise a new git repository in our user home directory:
git init --bare $HOME/.dotfiles
```

[git init](https://git-scm.com/docs/git-init) simply creates a `.git` directory and prepares a git repository. `--bare` tells git to create a barebone repository with no working tree. `$HOME/.dotfiles` is just the directory name for git, instead of `.git` which could pose to be confusing.
Here [git init](https://git-scm.com/docs/git-init) simply creates a `.git` directory and prepares a git repository. `--bare` tells git to create a barebone repository with no working tree. `$HOME/.dotfiles` is just the directory name for git, instead of `.git` which could pose to be confusing.

Some prefer to name their git repository `.config`, I use dotfiles because it's easier to remember the function.