git_info 1.0.1 copy "git_info: ^1.0.1" to clipboard
git_info: ^1.0.1 copied to clipboard

outdated

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/**')
4
likes
0
pub points
76%
popularity

Publisher

verified publisherrexios.dev

Reads information about the local git repository to show in app

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on git_info