Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
golergka
on Nov 2, 2013
|
parent
|
context
|
favorite
| on:
Git 2.0 changes push default to ‘simple’
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.
10char
on Nov 2, 2013
[–]
If you had the `-f` (force) flag, it overrides any sanity checks and simply accepts whatever history you give it.
davvid
on Nov 3, 2013
|
parent
[–]
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.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: