Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rectangletangle
on June 9, 2015
|
parent
|
context
|
favorite
| on:
How to undo almost anything with Git
You can just alias it in your bash profile, if it's too much to type.
alias gitpushf='git push --force-with-lease'
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
alias gitpushf='git push --force-with-lease'