4 ms·
-f does not sound like a good idea to me in a script like that.
by TimWolla 5y ago
-f does not sound like a good idea to me in a script like that.
- 5e92cb50239222b 5y agoGood point. I just copy-pasted it from the terminal, as it made sense in my particular situation. I'll remove it.
- renata 5y agoAlso pretty much every usage of -f would be better off being --force-with-lease so you're less likely to accidentally clobber someone else's work. I have git fpush aliased to "push --force-with-lease" and try to spread the gospel when possible :)
- kubanczyk 5y agoYeah, I learned it by using magit or vscode's other magit and they both default to --force-with-lease.