3 ms·
I totally agree that this is surprising behavior. But git did try to tell you: ! [rejected] master -> master (non-fast-forward) And once you've inv
by egonschiele 14y ago
I totally agree that this is surprising behavior. But git did try to tell you:
! [rejected] master -> master (non-fast-forward)
And once you've invoked the gods of `push -f`, you're on your own.
- monstrado 14y agoAn evil prank would be to change someone's 'git push' alias to use -f by default.
- morsch 14y agoAs someone who's only used git in fairly straightforward ways, that line is complete gibberish to me.
- egonschiele 14y agoIt's saying you tried to push the master branch (`master -> master`) and it was `rejected`. Since he made a bunch of changes to the master branch from another dir, of course his changes are not going to get pushed.
- lennartregebro 14y agoSure, which is why I made a backup first. I didn't lose any data. I'm just ranting about what is some of the bad things with git.