gip

command module
v0.0.0-...-66e2622 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2017 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

gip

List git commits across grouped repositories within a given time period

Vague command plans

gip
  view (group) [time]
  viewrepo (repo) [time]
  repos
    add (gitdir)
    list [group]
    remove (repo) [group]
  groups
    create (name)
    list
    add (repo) (group)
    rename (group) (name)
    remove (group)

Bad example

$ gip repos list
# No repos yet!
  
$ gip groups list
# No groups yet!
  
$ gip repos add ~/my/wrok/repo
# No .git directory found at /Users/xyz/my/wrok/repo

$ gip repos add ~/my/work/repo
# Repository at /Users/xyz/my/work/repo added as "work-site" to the "all" group

$ gip repos add ~/my/other/repo personal
# Repository at /Users/xyz/my/other/repo added as "p-site" to the "personal" group

$ gip repos list
# p-site (/Users/xyz/my/other/repo)
# work-site (/Users/xyz/my/work/repo)

$ gip groups list
# all (2 repositories)
# personal (1 repository)

$ gip repos list personal
# p-site (/Users/xyz/my/other/repo)

$ gip groups rename personal private
# Group "personal" renamed to "private"

$ gip groups remove private
# Do you also want to remove all groups within this group from the "all" group? (Y/n) Y

$ gip groups create golibs
# Created group "golibs"

$ gip groups list
# all (1 repository)
# golibs (0 repositories)

$ gip repos remove work-site
# Doing this will remove "work-site" from all groups. Are you sure? (Y/n) n

$ gip groups add work-site work
# Repository at /Users/xyz/my/work/repo added as "work-site" to the "work" group

$ gip repos remove work-site work
# Repository at /Users/xyz/my/work/repo ("work-site") removed from the "work" group

$ gip view all
# ...logs for "all" group from 12am...

$ gip view all 1.day
# ...logs for "all" group from the last 24 hours...

$ gip viewrepo work-site
# ...logs from the "work-site" repo from 12am...

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址