django - Git Push Error ( Local to Remote ) in VPS Git Server? -


i've written small django site in mac(sierra os), , wanna put in new vps(digital ocean centos 7). have created git server there.

my local django project has local git repository,i set remote url centos git server site. , going well.. push project server … , finally, weird when push task has done, enter remote file, , found the ‘push task’ has push local .git file directory server.. and other project file ignored! later, added more commits, made no difference.

i tried create new repo in github.com. , push project github in same way, it works in github platform --- of project files have sucessfully pushed github server.

how solve problem?

try reinstall vps , setup again git server.

after setup new server try push ssh debug, example:

git add * git commit -m "commit description" git_trace=1 git push origin master 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -