If you’re using the ActionBarSherlock library in your Android project you can easily stay up to date by including it as git submodule.
$ cd /path/to/project # Initialize the submodule $ git submodule add https://github.com/JakeWharton/ActionBarSherlock # Commit your changes $ git commit -am "Added ActionBarSherlock submodule." # Ignore local changes in the submodule directory $ git status --ignore-submodules=dirty
To ignore changes to the submodule directory (in case permission or other changes are required) you can add the following to your .gitmodules
file:
[submodule "ActionBarSherlock"] path = ActionBarSherlock url = https://github.com/JakeWharton/ActionBarSherlock ignore = dirty
Thank you kind sir.