Gita Versions Save

Manage many git repos with sanity 从容管理多个git库

v0.15.2

2 years ago

new features

  • allow gita group ll to run on selected groups #172

bug fixes

  • fix gita shell traceback #173

v0.15.1

2 years ago

new features

  • add auto-group option -a to gita add, which recursively adds repos in the provided paths and creates hierarchical groups #101

v0.15.0

2 years ago

bug fixes

  • exclude newline for csv writer to avoid group parsing error on windows #169

v0.14.9

2 years ago

new features

  • bash autocompletion for gita ll #87
  • bash autocompletion for gita context, gita clone, and gita flags

refactoring

  • add workspace tests #141
  • ignore hidden folders when recursively add repos

bug fixes

  • disallow group name to collide with repo name #158
  • resolve name collisions when adding multiple repos whose paths share the same base name

v0.14.6

2 years ago

refactoring

  • replace custom command registration ~/.config/gita/cmds.yml by ~/.config/gita/cmds.json. If no custom command exists, nothing needs to be done. Otherwise change the content accordingly. For example,
stat:
  cmd: git diff --stat
  help: show edit statistics

should be replaced by

{
"stat":{
  "cmd": "git diff --stat",
  "help": "show edit statistics"
}
}

v0.14.5

2 years ago

new features

refactoring

  • change ~/.config/gita/info.yml to ~/.config/gita/info.csv. To upgrade, user needs to rename the file (if it exists) and change the content. For example
- branch
- commit_msg
- commit_time

changes to

branch,commit_msg,commit_time
  • change ~/.config/gita/colors.yml to ~/.config/gita/colors.csv. To upgrade, user needs to gita color set the desirable colors.

bug fixes

  • avoid the ~/.config/gita/groups.csv from being overwritten in testing
  • fix bug on flags usage

v0.14.2

2 years ago

new features

  • add --preserve-path option to gita clone command so that repos will be cloned to the preset paths
  • add gita flags sub-command which sets per-repo custom git flags
  • support bare repos
  • allow shell mode commands to be defined in ~/.config/gita/cmds.yml

refactoring

  • replace ~/.config/gita/groups.yml config file by ~/.config/gita/groups.csv. To upgrade, user needs to change the file name and also the content. For example,
home: [blog, dotfiles, gita, resume]

changes to

home:blog dotfiles gita resume

bug fixes

  • disallow renaming into an existing repo name

v0.13.6

2 years ago

new features

  • add commit_time information item
  • support local configuration: the intended use is a repo that contains other repos.
    • Local configuration files are saved at such repos (called main repos) and they shadow the global configuration if gita is run inside main repos
    • Sub-repos are added recursively in the local config
    • Main repos are added to global config
    • Main repos are displayed with underline in gita ll

refactoring

  • Change repo configuration file from ~/.config/gita/repo_path to ~/.config/gita/repos.csv. To upgrade, user needs to rename the existing file accordingly.

bug fixes

  • load yaml file in safe mode
  • update group config file when its member repo is renamed
  • fix traceback in freeze when the repo has no remote URL

v0.12.9

3 years ago
  • change gita ll -n to gita ll -C for disable coloring
  • add gita color set <situation> <color> command to change the coloring scheme of local/remote relationship
  • add gita freeze to show URL, name, and path of all repos
  • add gita clone <config-file> to clone repos to cwd
  • add gita shell command to run shell commands
  • display help message for most commands (use description instead of help for subparser)
  • add gita group rmrepo command to remove repo(s) from a group
  • display tag name instead of HEAD when a tag is checked out
  • fix traceback when deleting current context

v0.11.9

3 years ago
  • add -r option for recursive adding repos in given paths
  • remove ungroup sub-command, and clean up group sub-command by adding ll, add, rm sub-sub-commands
  • add context sub-command
  • add --name to the gita group add command and no longer ask for user input
  • add gita group ls command
  • add gita group rename command
  • add --no-colors for gita ll command
  • add gita color sub-command to display current color scheme
  • disallow user-defined information item