git subcommand. List recent visited branches with visit time.
$ git recent-branch -h
NAME:
git-recent-branch
USAGE:
git-recent-branch [global options] command [command options] [arguments...]
VERSION:
0.2.0
AUTHOR:
sachaos
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--csv output in CSV format
--no-unique show not unique logs
-n value num of entry (default: 10)
--help, -h show help
--version, -v print the version
To install, use go get
:
$ go get -d github.com/sachaos/git-recent-branch
RECOMMENDED
install peco and load git-recent-branch_functions.sh
on your .zshrc
, like below.
$ source "$GOPATH/src/github.com/sachaos/git-recent-branch/todoist_functions.sh"
<C-g> <C-r>: select branch by peco, and insert command line buffer.
- Fork (https://github.com/sachaos/git-recent-branch/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request