Helpful post. Thanks for sharing Christian.
We rebase at work which means we need to force a push. However, you can use a slightly safer force command.
Nick Taylor @nickytonline A simple git alias for --force-with-lease, git config --global alias.fpush "push --force-with-lease" #git #devtools developer.atlassian.com/blog/2015/... 12:30 PM - 26 Jun 2016 00
Having said that, I renamed that alias a while back to pf. More aliases here.
pf
That sounds awesome! I'll give it a try!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Helpful post. Thanks for sharing Christian.
We rebase at work which means we need to force a push. However, you can use a slightly safer force command.
Having said that, I renamed that alias a while back to
pf
. More aliases here.My Git Aliases
Nick Taylor
That sounds awesome! I'll give it a try!