3 # Create an archive of my configuration file which can be uploaded on a
10 git clone "$1" "$2" > /dev/null
12 cd "$2" && git remote rm origin && git gc && cd "$cwd"
15 git_clone . tmp/dotfiles
16 for name in browser shell vcs vim x11; do
17 echo cloning $name to tmp/
18 git_clone $name tmp/dotfiles/$name
21 archive=dotfiles.tar.gz
22 echo creating $archive
23 tar cf tmp/$archive -C tmp -z dotfiles
24 echo moving $archive to .