-
-
Save borntyping/85970cfa2198ef6fd89f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tg | |
Usage: tg [options] <tag> <command> [...] | |
Show information about tagged repositories | |
Availible tags: @cyborg, @python, @rust | |
Subcommands: | |
add Add a repository to the tag | |
journal Show commits in order for a given period | |
list Show repository paths | |
remove Remove a repository from the tag | |
status Show repository statuses | |
Options: | |
--config Path to a configuration file [default: ~/.tg] | |
--data Path to tag database [default: ~/.tg-data] | |
--version Show the version number | |
--help Show this message | |
$ tg @cyborg add /home/sam/Development/borntyping/example | |
$ tg @cyborg journal --today | |
2015-03-02 11:12 8f99b18 (cyborg) Fixed tests | |
2015-03-02 11:43 5dd0d7d (cyborg-demo) Made some changes | |
2015-03-02 11:58 e9d8fdc (cyborg) rustup | |
$ tg @cyborg list | |
- cyborg /home/sam/Development/borntyping/cyborg | |
- cyborg-demo /home/sam/Development/borntyping/cyborg-demo | |
- example /home/sam/Development/borntyping/example | |
- mutiny /home/sam/Development/borntyping/mutiny | |
- rust-psutil /home/sam/Development/borntyping/rust-psutil | |
- rust-simple_logger /home/sam/Development/borntyping/rust-simple_logger | |
$ tg @cyborg remove /home/sam/Development/borntyping/example | |
$ tg @cyborg status | |
✓ cyborg | |
✓ cyborg-demo | |
✗ mutiny travis-ci build is failing | |
✓ rust-psutil | |
✗ rust-simple_logger uncommitted changes |
- The
@
syntax for tags will probably change. - I'm not sure applications can change the directory a shell is in
- https://github.com/borntyping/tg :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something which I think would be really useful would be a quick way to enter a particular repo, like
cd
, but also checking out to a git branch or tag. Like:or
or even
I'm not sure why do you need the
@
at the start of tags, though. I don't think it is less ambiguous with them, since they're only used in one context.