Skip to content

Commit eaa129a

Browse files
authored
Remove update script (#45)
It is useless, git init is able to do that job.
1 parent 1698067 commit eaa129a

File tree

2 files changed

+3
-23
lines changed

2 files changed

+3
-23
lines changed

docs/index.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,13 @@ cd $(git config --path --get init.templatedir)
4141
git pull
4242
```
4343

44-
Then, you can update any repository by running this in the working tree of your
45-
repository :
46-
47-
```sh
48-
$(git config --path --get init.templatedir)/../update.sh
49-
# If your template directory is ~/.git_template/template, this is equivalent to :
50-
~/.git_template/update.sh
51-
```
52-
53-
Make sure you have rsync installed.
44+
Then, you can update any repository by running `git init` from within it.
45+
Don't fear, [it is perfectly safe][init-manpage].
5446

5547
## Setup on existing projects
5648

5749
You can also run the update script from a project created before your switch
5850
to `git_template`, but be aware that any hook you created yourself will be deleted.
5951

6052
[0]: https://github.com/greg0ire/git_template
53+
[init-manpage]: https://git-scm.com/docs/git-init

update.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)