[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wrap-search 3.3.5
From: |
Emanuel Berg |
Subject: |
Re: wrap-search 3.3.5 |
Date: |
Wed, 31 Aug 2022 11:29:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Philip Kaludercic wrote:
>> Let's try the clone thing ...
>>
>> $ git clone https://dataswamp.org/~incal/wrap-search.git
>> Cloning into 'wrap-search'...
>> fatal: repository 'https://dataswamp.org/~incal/wrap-search.git/' not found
>>
>> :(
>
> I forgot about this, but apparently you need to activate
> a git hook to make HTTP cloning work [...] you have to run
> these commands in your repository:
>
> $ git --bare update-server-info
> $ mv hooks/post-update.sample hooks/post-update
Indeed, it works now! Unbelievable it has to be that
complicated ...
But, when I clone I get the whole path
wrap-search/public_html/emacs-init/wrap-search.el
Maybe that can be simplified?
#! /bin/zsh
#
# this file:
# https://dataswamp.org/~incal/conf/.zsh/git
#
# at the server:
# $ cd public_html
# $ git init --bare wrap-search.git
# $ cd wrap-search.git
# $ git --bare update-server-info
# $ mv hooks/post-update.sample hooks/post-update
git-init () {
local name=wrap-search
local server=dataswamp.org
local repo=/home/incal/public_html/${name}.git
cd
rm -f -r .git
git init
git add ~/public_html/emacs-init/${name}.el
git commit -m "Initial commit"
git remote add origin ${USER}@${server}:${repo}
git push --set-upstream origin master
cd
}
git-clone () {
git clone https://dataswamp.org/~incal/wrap-search.git
}
--
underground experts united
https://dataswamp.org/~incal
- Re: wrap-search 3.3.5, (continued)
- Re: wrap-search 3.3.5, Andreas Schwab, 2022/08/28
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/08/28
- Re: wrap-search 3.3.5, Philip Kaludercic, 2022/08/28
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/08/28
- Re: wrap-search 3.3.5, Gregory Heytings, 2022/08/28
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/08/28
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/08/28
- Re: wrap-search 3.3.5, Yuri Khan, 2022/08/29
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/08/30
- Re: wrap-search 3.3.5, Philip Kaludercic, 2022/08/31
- Re: wrap-search 3.3.5,
Emanuel Berg <=
- Re: wrap-search 3.3.5, Gregory Heytings, 2022/08/31
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/08/31
- Re: wrap-search 3.3.5, Gregory Heytings, 2022/08/31
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/08/31
- Re: wrap-search 3.3.5, Gregory Heytings, 2022/08/31
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/08/31
- RE: [External] : Re: wrap-search 3.3.5, Drew Adams, 2022/08/31
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/08/31
- Re: wrap-search 3.3.5, Gregory Heytings, 2022/08/31
- Re: wrap-search 3.3.5, Emanuel Berg, 2022/08/31