.git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote "origin"]
url = git@github.com:myusername/wp-theme.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
remote = dreamhost
merge = refs/heads/main
[remote "dreamhost"]
url = ssh://myusername@server.domain.com/~/my.domain.com.git
fetch = +refs/heads/*:refs/remotes/dreamhost/*
I am having a hard time pulling my code from github and pushing it to my dreamhost server.
I run (on my local computer)...
git push -u dreamhost main
and then run (on the server)..
git clone ~/my.domain.com.git ~/cloned.my.domain.com.git
However the folder is empty. What am I doing wrong?