4 ms·
> I'm planning on making a hard push for git on the team I just joined You mean a force push. `git push --force` is one of my favorite commands. I've aliased `
by Cthulhu_ 9y ago
> I'm planning on making a hard push for git on the team I just joined
You mean a force push. `git push --force` is one of my favorite commands. I've aliased `git yolo` to `git push --force --no-verify`.
- taoistextremist 9y agoMaybe I ought to also insist I build git from source and scrub any reference to --force from it.
- icebraining 9y ago--force-with-lease is usually the better option; it makes sure nobody pushed anything since the last time you fetched from the remote. If they have, you can fetch, see if you still want to overwrite that branch, and if so run it again.
- nasredin 9y ago>git yolo I hope you do not work on missiles or on passenger aircrafts!