Skip to content

micangl/.dotfiles

Repository files navigation

My dotfiles

Inspired by ThePrimeagen's dotfiles and by this blog post.

Setting up a new machine

cd ~
git clone --recurse-submodules https://github.com/micangl/.dotfiles

Pulling changes

To pull the current repository, and all the submodules, execute

git pull --recurse-submodules

Making changes

Changes to a submodule must be added and committed both inside the submodule, and in the base repository (.dotfiles in this case).

To push eventual changes, run

git push --recurse-submodules=on-demand

Adding submodules

git submodule add <url_to_the_submodule> <path_to_the_submodule>
cd <path_to_the_submodule>
git checkout master

Go back to the main .dotfiles directory and execute

git config -f .gitmodules submodule.<name>.branch master
git config -f .gitmodules submodule.<name>.update merge

Running git status will show that some are unstaged; add, commit and push them.

Remember to update the install script.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published