Git aliases are a great way to do more with less typing. Our team uses submodules to an extent which can sometimes be confusing. Some of these aliases help to clarify behavior. These are a few of my favorites.
git lg
This gives you a nicely formatted semi-graphical log view with users, branches, and remotes
git latest
This does a git pull on the current repository as well as all submodules
git virgin (getting to a pure state)
This will reset your changes and delete all untracked and ignored files (includes bin/ and obj/ directories)
git harem (a whole lot of virgins)
This does a virgin for your repository as well as all submodules
No comments:
Post a Comment