Skip to content

jenunifer/lab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git + lab = gitlab Build Status

lab wraps git or hub and adds additional features to make working with GitLab smoother

$ lab clone gitlab-com/infrastructure

# expands to:
$ git clone [email protected]:gitlab-com/infrastructure

hub + lab = hublab??

lab will look for hub and uses that as your git binary when available so you don't have to give up hub to use lab

$ lab version
git version 2.11.0
hub version 2.3.0-pre9
lab version 0.4.0

Inspiration

The hub tool made my life significantly easier and still does! lab is heavily inspired by hub and attempts to provide a similar feel.

Installation

Dependencies

  • git or hub
$ go get github.com/zaquestion/lab

$ lab version
git version 2.11.0
lab version 0.4.0

The first time you run lab it will prompt for your GitLab information. All configuration is managed through git config so don't worry if you mess it up. Keys can be set at the system, global, or local level.

$ lab
Enter default GitLab host (default: https://gitlab.com):
Enter default GitLab user: zaq
Enter default GitLab token:

Relevant lab git config keys:

  • gitlab.host
  • gitlab.user
  • gitlab.token

Aliasing

Like hub, lab feels best when aliased as git. In your .bashrc or .bash_profile

alias git=lab

About

A hub-like tool for GitLab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%