N
N
Neuro2019-04-09 14:55:06
git
Neuro, 2019-04-09 14:55:06

How to commit from a local branch to a remote one if there is no such branch in the remote repository?

I did a git clone of the repository and created a local branch, made my changes in it and made a commit and I want to push them to the same branch in the remote repository, but there is no such branch there. When git push writes me

fatal: The current branch nojira_fix_telegram_bot has no upstream branch.

Does anyone know how to fix this problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
iBird Rose, 2019-04-09
@Riveran

git push origin nojira_fix_telegram_bot

A
aol-nnov, 2019-04-09
@aol-nnov

git help everyday

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question