- To get the sources:
- Issues: https://github.com/guyzmo/git-repo/issues
- Chat on IRC: #git-repo @freenode
Control your remote git hosting services from the git
commandline. The usage is
very simple. To clone a new project, out of GitHub, just issue:
% git hub clone guyzmo/git-repo
But that works also with a project from GitLab, Bitbucket, your own GitLab or Gogs:
% git lab clone guyzmo/git-repo
% git bb clone guyzmo/git-repo
% git myprecious clone guyzmo/git-repo
% git gg clone guyzmo/git-repo
If you want to can choose the default branch to clone:
% git lab clone guyzmo/git-repo master
Though sometimes, as you're starting a new project, you want to create a new repository to push to:
% git hub create guyzmo/git-repo
actually the namespace is facultative, as per default you can (and want to) only create new repositories within your own account.
You might also want to add an existing remote ref to your workspace, and that can be easily done with:
% git lab add guyzmo/git-repo
Which will add https://gitlab.com/guyzmo/git-repo
as the gitlab
remote!
Also, you can fork a repository using:
% git hub fork neovim/neovim
and of course, you can delete it using:
% git bb delete guyzmo/git-repo
Also, you can open the repository's page, using the open
command:
% git lab open guyzmo/git-repo
Successfully fetched branch `2` of `guyzmo/git-repo` into `request-2`!
Once you're all set with your repository, you can check requests to merge
(aka Pull Requests on github) using the request
command:
% git hub request guyzmo/git-repo list
List of open requests to merge:
id title URL
2 prefer gitrepo.<target>.token > privatekey, docs https://api.github.com/repos/guyzmo/git-repo/issues/2
And fetch it locally to check and/or amend it before merging:
< 8000 div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="% git hub request guyzmo/git-repo fetch 2">% git hub request guyzmo/git-repo fetch 2