Module: Syncoku::Git
- Included in:
- CaptureBackup, Remote
- Defined in:
- lib/syncoku/git.rb
Instance Method Summary collapse
Instance Method Details
#extract_app_name(name) ⇒ Object
4 5 6 |
# File 'lib/syncoku/git.rb', line 4 def extract_app_name(name) run_command("git remote -v | grep #{name} | grep push").match(/(\/|:)([^\/:]*)\.git/)[2] end |