News for hackers. Stuff that matters.
Re:Git 2.0 changes push default to ‘simple’ by golergka on Saturday November 02, 2013 @02:34PM (#6660171)
Strange. I'm not a git expert, but every time I try to push outdated commits to the origin, it says that I'm behind and need to pull first.
Re:Git 2.0 changes push default to ‘simple’ by 10char on Saturday November 02, 2013 @02:37PM (#6660179)
If you had the `-f` (force) flag, it overrides any sanity checks and simply accepts whatever history you give it.
Re:Git 2.0 changes push default to ‘simple’ by davvid on Sunday November 03, 2013 @12:15AM (#6662201)
If `git config receive.denyNonFastforwards true` is configured on the remote repository then this is prevented. This is the default on modern versions of Git.