mirror of
https://github.com/paulirish/git-recent.git
synced 2026-09-10 07:26:16 -04:00
45 lines
1.3 KiB
Markdown
45 lines
1.3 KiB
Markdown
# git-recent
|
|
|
|
Type `git recent` to see your latest local git branches
|
|
|
|
## Usage
|
|
|
|
git recent
|
|
|
|
|
|
Optionally, add `-n<int>` to see the most recent `<n>` branches
|
|
|
|
git recent -n5
|
|
|
|

|
|
|
|
If you're a Windows user, you need to use [Git Bash](https://git-scm.com/downloads) or similar shell in order to effectively use this utility.
|
|
|
|
### Installation
|
|
|
|
You can add the `git-recent` location to your path (e.g. add the directory to your `PATH` environment
|
|
or copy `git-recent` into an existing included path like `/usr/local/bin` or `~/bin/`).
|
|
|
|
You can use also `npm` to install the global binary:
|
|
|
|
npm install --global git-recent
|
|
|
|
On Mac, you can install with homebrew:
|
|
|
|
brew install git-recent
|
|
|
|
## If you like this you may also be interested in...
|
|
|
|
- [`git open`](https://github.com/paulirish/git-open) - Open the repo website in your browser
|
|
- [`diff-so-fancy`](https://github.com/so-fancy/diff-so-fancy/) - Making the output of `git diff` so fancy
|
|
|
|
## License
|
|
|
|
Copyright Paul Irish. Licensed under MIT.
|
|
|
|
|
|
## Changelog
|
|
|
|
- **2016-05-16** - added to [paulirish/dotfiles](https://github.com/paulirish/dotfiles/commit/1ca1ff760832af558447145fa2a367046b1829d2)
|
|
- **2016-08-05** - released in standalone repo and published to npm
|