emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wrap-search 3.3.5


From: Philip Kaludercic
Subject: Re: wrap-search 3.3.5
Date: Sun, 28 Aug 2022 09:00:31 +0000

Emanuel Berg <incal@dataswamp.org> writes:

>
> Philip Kaludercic wrote:
>
>> As far as I understand you have a webserver that serves
>> files from a directory on some server? If so, you can create
>> a bare repository in your server directory
>>
>>   $ git init wrap-search.git
>>
>> on your local machine you can then create a git repository,
>> add your file, initialise a remote repository and push your
>> current state:
>>
>>   $ git init
>>   $ git add wrap-search.el
>>   $ git commit -m "Initial commit"
>>   $ git remote add origin your-user@your-server:path/to/wrap-search.git
>>   $ git push remote
>
> Worked until 'git push remote', then it says
>
>   fatal: 'remote' does not appear to be a git repository
>   fatal: Could not read from remote repository.
>
>   Please make sure you have the correct access rights and the
>   repository exists.

I forgot to add --bare to the first command, as Andreas pointed out.
You can delete the directory and re-run the command

    $ git init --bare wrap-search.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]