On 4/15/21 1:38 AM, Ken Moffat via blfs-dev wrote:
On Thu, Apr 15, 2021 at 01:24:13AM +0200, Tim Tassonis via blfs-dev wrote:
Hi all

When trying to push my changes to git, I got following error:

timtas@dalglish:~/src/blfs-git$ git commit -a
[trunk 8355679be] Upgrade to curl-7.76.1.
  4 files changed, 15 insertions(+), 4 deletions(-)
timtas@dalglish:~/src/blfs-git$ git push
fatal: remote error: access denied or repository not exported: /blfs.git

I cloned the repo using:

git clone git://git.linuxfromscratch.org/blfs.git blfs-git
                ^^^

Should be (for editors)
  git clone g...@git.linuxfromscratch.org:blfs.git
               ^

I think that your attempt didn't require you to use your passphrase
for git clone and git pull (the latter is to check what happens when
you let git merge) ?

You will want to save the changes you have prepared (maybe git show
HEAD  > ~/somefile (for one change) before overwriting your old
blfs-git repo.


Workded like a charm!

- First, git show HEAD > ../curl.diff
- Then,  git clone g...@git.linuxfromscratch.org:blfs.git
- cd blfs
- patch -p1 < ../curl.diff
- git commit -a
- git push


Thanks a lot and sorry for not reading properly.


Bye
Tim
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to