Skip to content

Instantly share code, notes, and snippets.

@fr-rose-steven
Created January 30, 2020 05:30
Show Gist options
  • Save fr-rose-steven/d2e9330eecb4a1933c151ada7b1594c8 to your computer and use it in GitHub Desktop.
Save fr-rose-steven/d2e9330eecb4a1933c151ada7b1594c8 to your computer and use it in GitHub Desktop.
git clone {repo}
git checkout -b {new_branch}
#change code
git add .
git commit -m 'some comment'
git push origin {new_branch}
@fr-rose-steven
Copy link
Author

error: src refspec {new_branch} does not match any.
error: failed to push some refs to {repo}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment