I usually use subversion, and am getting used to git.
I cloned a copy of a remote repository to my localhost, and then created a new branch, which we'll call "myNewBranch'. However, I created that branch off of master when it should have been a sub-branch of "DEVELOPMENT".
Here are the steps I took:
- git clone remoteURL localhost
- git checkout -b mynewBranch (should have switched to DEVELOPMENT first)
- git add {whatever files I changed}
- git commit
- git push origin myNewBranch
Here is what the hierarchy should look like:
Master ---> DEVELOPMENT ---> myNewBranch
Here is what it currently looks like: Master--->myNewBranch
How can I rectify this?