-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We have partially supported the `hub` tool instead of directly call Git when handling github repositories. However, many new features in lab don't recall any equivalent in hub, and, at the same time, GitHub has created another cli, deprecating `hub` itself. With that, we should also drop it and forget any compatibility between them. Signed-off-by: Bruno Meneguele <[email protected]>
- Loading branch information
Showing
4 changed files
with
7 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
<p align="center"><img src="https://user-images.githubusercontent.com/1964720/42740177-6478d834-8858-11e8-9667-97f193ecb404.gif" align="center"></p> | ||
|
||
Lab wraps Git or [Hub](https://github.com/github/hub), making it simple to clone, fork, and interact with repositories on GitLab, including seamless workflows for creating merge requests, issues and snippets. | ||
Lab wraps Git, making it simple to clone, fork, and interact with repositories on GitLab, including seamless workflows for creating merge requests, issues and snippets. | ||
|
||
``` | ||
$ lab clone gitlab-com/infrastructure | ||
|
@@ -11,16 +11,6 @@ $ lab clone gitlab-com/infrastructure | |
$ git clone [email protected]:gitlab-com/infrastructure | ||
``` | ||
|
||
## hub + <img src="https://user-images.githubusercontent.com/3167497/34473826-40b4987c-ef2c-11e7-90b9-5ff322c4966f.png" width="30" height="30"> = 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.20.0 | ||
``` | ||
|
||
# Inspiration | ||
|
||
The [hub](https://github.com/github/hub) tool made my life significantly easier and still does! lab is heavily inspired by hub and attempts to provide a similar feel. | ||
|
@@ -29,7 +19,7 @@ The [hub](https://github.com/github/hub) tool made my life significantly easier | |
|
||
Dependencies | ||
|
||
* `git` or `hub` | ||
* `git` | ||
|
||
### Homebrew | ||
``` | ||
|
@@ -147,7 +137,7 @@ source <(lab completion zsh) | |
|
||
# Aliasing | ||
|
||
Like hub, lab feels best when aliased as `git`, however it's perfectly reasonable to use as a standalone tool. In your `.bashrc` or `.bash_profile`: | ||
`lab` feels best when aliased as `git`, however it's perfectly reasonable to use as a standalone tool. In your `.bashrc` or `.bash_profile`: | ||
|
||
``` | ||
alias git=lab | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters