git_info 1.0.1 git_info: ^1.0.1 copied to clipboard
Reads information about the local git repository to show in app
git_info #
Reads information about the local git repository to show in app
Getting Started #
pubspec.yaml:
assets:
- .git/HEAD
- .git/refs/heads/
- .git/refs/heads/feature/
# Include any other branch paths used in your project
Unfortunately Flutter does not allow wild card asset definitions so you must specify all branch paths that could be used by your project
settings.gradle:
import org.apache.tools.ant.DirectoryScanner
DirectoryScanner.removeDefaultExclude('**/.git')
DirectoryScanner.removeDefaultExclude('**/.git/**')