git abide
In .gitconfig
:
[alias]
abide = reset --hard @{u}
For when you want to reset your local branch to the remote it follows.
Written by Yanick Champoux
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#