so i seem to have created some git headaches for myself, wondering if someone's experience could help. I'll try explain clearly:
- I have a development branch, which auto-builds onto our staging server
- I have another branch feature/a - it has work in it that extends beyond development
- I wanted to get feature/a temporarily onto our staging server, so did it the only way that is currently possible - i merged it into development
- I then reset HEAD on my local machine for development, to a previous commit I had made of development, and it has been working well locally
- now when I try to push my local development, I get a message that my local branch is behind, so I should pull before pushing
- however, I actually want my local development to become the remote development again, and for feature/a to continue separately for now as it has been
I'm not super-clear as to what git command sequence would give me the above resolution, and I really don't want to lose my (or anyone else's!) commit history!