To [append a project's local `bin/` directory to `$PATH`][dotfiles],
the dotfiles check for the existence of a special directory: `git/.safe`.
This commit is inspired by [thoughtbot/suspenders#837][#837]:
> The idea behind the .git/safe is that I run it manually and explicitly
> after I trust the directoy and the team behind the project.
> Creating it as part of the setup script defeats the point of that. Doing
> so without explcitly telling the user comes across as sneaky, perhaps.
> (I do expect all devs to read setup scripts before running them -- but I
> also know that they do not!)
> Switch this script to inform the user that they have no `.git/safe`
> directory but might like to make one.
Since suspenders may no longer mark projects safe by default, this
commit introduces the `git trust-bin` command to do so.
[dotfiles]:
|
||
---|---|---|
.. | ||
bundler-search | ||
git-ca | ||
git-co-pr | ||
git-create-branch | ||
git-ctags | ||
git-current-branch | ||
git-delete-branch | ||
git-merge-branch | ||
git-pr | ||
git-rename-branch | ||
git-trust-bin | ||
git-up | ||
replace | ||
tat |