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: Emanuel Berg
Subject: Re: wrap-search 3.3.5
Date: Sun, 28 Aug 2022 23:02:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Philip Kaludercic wrote:

> 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

OK, thanks (both) but still no luck:

#! /bin/zsh
#
# this file:
#   https://dataswamp.org/~incal/conf/.zsh/git
#
# at the server:
#   $ cd public_html
#   $ git init --bare wrap-search.git

git-init () {
    local server=dataswamp.org
    local repo=/var/www/htdocs/dataswamp.org/~incal/wrap-search.git

    cd
    rm -f -r .git
    git init
    git add ~/public_html/emacs-init/wrap-search.el
    git commit -m "Initial commit"
    git remote add origin ${USER}@${server}:${repo}
    git push remote # DNC
    cd -
}

# Initialized empty Git repository in /home/incal/.git/
# [master (root-commit) 012c325] Initial commit
#  1 file changed, 106 insertions(+)
#  create mode 100644 public_html/emacs-init/wrap-search.el
# 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.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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