2
Dear friends, my question is this::
I needed to download a project on another machine, so I did a clone on Github for that, but I changed the whole file structure, and I wanted to go up to the master branch with this new structure and its respective files, my solution so far has been to push on a secondary branch, but I would like to leave everything in master, even if I remove the old files for this.
I started using git recently, sorry for the 'cabaçada' XD.
If you’ve already uploaded files from your local server to a non-master branch, now in git it’s just a new pull request.
– smourao
When I try to "pull request" Github returns the following message: "There isn’t Anything to compare."
– Mateus Daniel
@smourao, yes, I climbed to another branch, but when I click to pull request inside Github, it only appears this message "There isn’t Anything to compare.".
– Mateus Daniel
have tried
git push --force
orgit push --force-with-lease
?– tvdias
@tvdias worked! It worked using the git push --force origin master :) thank you very much!
– Mateus Daniel
I added in response :)
– tvdias