@ -6,12 +6,12 @@ Configuration files for syncing between machines. See https://www.atlassian.com/
@@ -6,12 +6,12 @@ Configuration files for syncing between machines. See https://www.atlassian.com/
$ alias dotfiles='git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME'
$ alias dotfiles='git --git-dir="$HOME/.dotfiles.git/" --work-tree="$HOME"'
```
3. Check out the files:
@ -19,7 +19,15 @@ Configuration files for syncing between machines. See https://www.atlassian.com/
@@ -19,7 +19,15 @@ Configuration files for syncing between machines. See https://www.atlassian.com/
$ dotfiles checkout
```
4. Add the following to the top of `.bashrc`
4. Configure the new local repo to hide untracked files and to use the local gitignore file
```
$ dotfiles config --local status.showUntrackedFiles no
# Include cross-system common parts from .dotfiles.git repo
if [ -f ~/.bashrc.dotfiles ]; then
@ -27,9 +35,4 @@ Configuration files for syncing between machines. See https://www.atlassian.com/
@@ -27,9 +35,4 @@ Configuration files for syncing between machines. See https://www.atlassian.com/
fi
```
5. Configure the new local repo to hide untracked files
```
$ dotfiles config --local status.showUntrackedFiles no