2 Star 1 Fork 0

zeal / gitlab-shell

加入 Gitee
与超过 600 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README.md

gitlab-shell: ssh access and repository management

GitLab Shell is an application that allows you to execute git commands and provide ssh access to git repositories. It is not a unix shell nor a replacement for Bash or Zsh.

Code status

  • CI
  • Build Status
  • Code Climate
  • Coverage Status

Requires ruby 1.9+

Setup

./bin/install

Check

./bin/check

Repos:

Add repo

./bin/gitlab-projects add-project gitlab/gitlab-ci.git

Remove repo

./bin/gitlab-projects rm-project gitlab/gitlab-ci.git

Import repo

# Default timeout is 2 minutes 
./bin/gitlab-projects import-project randx/six.git https://github.com/randx/six.git 

# Override timeout in seconds
./bin/gitlab-projects import-project randx/six.git https://github.com/randx/six.git 90

Fork repo

./bin/gitlab-projects fork-project gitlab/gitlab-ci.git randx

Update HEAD

./bin/gitlab-projects update-head gitlab/gitlab-ci.git 3-2-stable

Create branch

./bin/gitlab-projects create-branch gitlab/gitlab-ci.git 3-2-stable master

Remove branch

./bin/gitlab-projects rm-branch gitlab/gitlab-ci.git 3-0-stable

Create tag

./bin/gitlab-projects create-tag gitlab/gitlab-ci.git v3.0.0 3-0-stable 

Remove tag

./bin/gitlab-projects rm-tag gitlab/gitlab-ci.git v3.0.0

Keys:

Add key

./bin/gitlab-keys add-key key-782 "ssh-rsa AAAAx321..."

Remove key

./bin/gitlab-keys rm-key key-23 "ssh-rsa AAAAx321..."

Remove all keys from authorized_keys file

./bin/gitlab-keys clear

仓库评论 ( 0 )

你可以在登录后,发表评论

简介

gitlab-shell 镜像 展开 收起
Ruby
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Ruby
1
https://gitee.com/zeal/gitlab-shell.git
git@gitee.com:zeal/gitlab-shell.git
zeal
gitlab-shell
gitlab-shell
master

搜索帮助