Method: Gitlab::Git::Repository#root_ref
- Defined in:
- lib/gitlab_git/repository.rb
#root_ref ⇒ Object
Default branch in the repository
35 36 37 |
# File 'lib/gitlab_git/repository.rb', line 35 def root_ref @root_ref ||= discover_default_branch end |