I created a new branch locally called experimental
git checkout -b experimental
I made my changes, committed them, and pushed them to GitHub. I could see the experimental branch on GitHub.
I then did:
git checkout master
git merge experimental
It showed the files it had merged
Updating 3811ea5..617606f
Fast forward
file1.py | 101 ++++++++++++++++++++++++++++++++
file2.py | 59 ++++++++++++++----
However when I did a git status it said nothing to commit. Is that correct?
Anyway I pushed to GitHub and deleted the local branch. On GitHub I now have the master and experimental both pointing to the same point. Is there any need for the experimental branch on GitHub anymore. I have deleted it locally. How do I delete it on GitHub?
As seen here, a site which was the first link for “git delete remote branch”