我已经设置了git init --bare
的远程仓库,我正在尝试将文件夹及其内容推送到远程。所以:
$ git push -u server master
charlie@xx.xx.xx.xx's password:
Counting objects: 63, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (59/59), done.
Writing objects: 100% (63/63), 122.68 KiB | 0 bytes/s, done.
Total 63 (delta 20), reused 0 (delta 0)
To charlie@xx.xx.xx.xx:/path/to/nodebb-theme-argument
* [new branch] master -> master
Branch master set up to track remote branch master from server.
但是当我检查远程文件夹的内容时,我只有:
$ ls
branches config description HEAD hooks info objects refs
那么,如何让它传输本地git repo的实际内容?