简体   繁体   中英

Git - setting up a remote repository on ec2 and doing an initial push

I'm following this tutorial to set up a remote repository on Amazon EC2.

When it comes to doing: git push -u origin master I get these errors:

  1. src refspec master does not match any.
  2. failed to push some refs to 'bitnami@xxxxxxxx.com:project.git'

I am using a bitnami djangostack image and I believe the problem originates from here. I have followed the exact same instructions and gotten it working when using a standard Amazon Linux image..

That means you did not configured the remote repository location correctly.

Need more information to solve this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM