I was working in my repository on branch_old but then wanted to create a new branch, lets say branch_new, for my local changes and finally push this new branch onto remote, so I ran
git checkout -b branch_new
git add .
git commit -m "Some message"
git push -u origin branch_old
while I meant to ultimately run git push -u origin branch_new
.
As a return, I got
Everything up to date
branch 'branch_old' set up to track 'origin/branch_old'
Now I'm quite new to git and I don't really know if that messed something up with the setup of my original branch branch_old. I couldn`t find a post with the same problem, so can someone tell me if that wrong push command was harmful and if yes, how can I fix this issue?
Thanks in advance.