Can't Push to New Space

hi @ducchau , thanks for sharing you env. I see you’re on OSX, and as you noticed on this thread there a few folks facing similar issue with OSX.
Perhaps you could try the SSH authentication approach? Hugging Face – The AI community building the future. ? If you add your keys to your settings you can edit the file from your .git/config or reclone the repo git clone git@hf.co:spaces/ducchau/hello-world

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
        ignorecase = true
        precomposeunicode = true
[remote "origin"]
        url = https://huggingface.co/spaces/ducchau/hello-world
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
        remote = origin
        merge = refs/heads/main

to

[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
	ignorecase = true
	precomposeunicode = true
[remote "origin"]
	url = git@hf.co:spaces/ducchau/hello-world
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
	remote = origin
	merge = refs/heads/main
1 Like