Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Unable to push changes to GitHub #539

Open
jaganmohanakola opened this issue May 1, 2019 · 1 comment
Open

Unable to push changes to GitHub #539

jaganmohanakola opened this issue May 1, 2019 · 1 comment

Comments

@jaganmohanakola
Copy link

Followed the steps till Push to your fork with the given command in tutorial
git push origin your-new-branch-name

the above command is modified from my side as
git push origin MyFirstApp-Branch1

and the below error shows up:
FirstIssue.txt
FirstIssue.txt

error: src refspec MyFirstApp-Branch1 does not match any.
error: failed to push some refs to 'https://github.com/jaganmohanakola/MyFirstApp.git'

All the commands used to get to this stage are in the attached file for your reference.
FirstIssue.txt

@asha15
Copy link

asha15 commented May 6, 2019

@jaganmohanakola I think you did not created a branch called < MyFirstApp-Branch1 >

I recommend you to try this steps.

  1. git checkout -b "branch-name"
    2.git add <file_name>
    3.git commit -m "your comment"
    4.git push origin "branch-name"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants