Giter Club home page Giter Club logo

git-shell-commands's Introduction

git-shell-commands

Basic scripting for a few automations with own git-server with coupling with git-shell. Based on source.

requirements

  • pre-installed git-core
  • created git-user (git for instance)
  • git-user have to be configured logining under git-shell
  • this repo should be located in home directory of git-user (/home/git for instance)
  • git-user home directory should contain following directories (or simlinks):
    • repos for manadged repos
    • repo-trash for deleted repos
    • NOT-bare repo repo-template for creating pre-initialized repos

connection to repo example

  • ~$ git clone git@<server>:repos/<repoName.git>

invoking command example

  1. ~$ ssh git@<server>
  2. git> help

command usage

command description
help show simple autogenerated list of commands
list [--full] show simple autogenerated list of bare repos inside repos, --full demand to generate extended list of files inside repos
new <repoName> create a pre-initialized with repo-template repo
new-empty <repoName> create an empty repo
rename <srcName> <newName> rename the repo
copy <srcName> <newName> copy the repo
delete <repoName> remove the repo to repo-trash with placing time signature to name

git-shell-commands's People

Contributors

alexanderarodin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.