Skip to content

hobbymarks/giat

Repository files navigation

GIAT

Introduction

A tool for changing local Git Repo Directory name to GitRepoName@OrganizationName format.It was programmed by golang language.

Installation

To install giat via homebrew:

$ brew tap hobbymarks/hobbymarks
$ brew install giat

Usage/参数

Options:

Usage:
  giat [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  list        list all git managed directory
  unify       unify git directory name

Flags:
  -h, --help      help for giat
  -v, --version   version for giat

Use "giat [command] --help" for more information about a command.

ATTENTION!

ℹ️

When you run giat ,mostly you will see two kinds of output:

  • First Kind

       sample▯file▯name
    -->sample_file_name

The output means: a file name sample file name will be changed to sample_file_name

--> means in dry run mode ,operation not take effect.The character means space ,every space will be replaced by one .

The character is only for the convenience of visual contrast and only display in output.

or you will see:

  • Second Kind:

       sample▯file▯name
    ==>sample_file_name

The output means: a file named sample file name has been changed to sample_file_name

==> means operation have taken effect.

all deleted character will be display as red color ,such as the original file name:

sample file name

all added character will be diplay as green color ,such as the changed file name:

sample _ file _ name

简介

将本地Gir Repo目录名称更改为GitRepoName@OrganizationName的格式.

使用

请前往Usage/参数查看

About

Change Local Git Repo Directory name to GitRepo@OrgName format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages