mirror of
https://github.com/davidosomething/git-my.git
synced 2026-09-10 07:06:20 -04:00
62 lines
1.2 KiB
Markdown
62 lines
1.2 KiB
Markdown
# git-my v0.4.0
|
|
|
|
> Lists a user's remote branches and shows if it was merged and/or available
|
|
> locally
|
|
|
|
| Name | Link |
|
|
| ---- | ---- |
|
|
| Project Home: | [https://github.com/davidosomething/git-my](https://github.com/davidosomething/git-my)
|
|
|
|
## About
|
|
|
|
Unlike `git branch -r` and `git remote show origin` this shows only branches
|
|
where YOU were the last committer and it will tell you if you have a copy of
|
|
that branch locally.
|
|
|
|
Here's a screenshot:
|
|

|
|
|
|
## Installation
|
|
|
|
- Add the `git-my` file somewhere in your path, e.g. `/usr/local/bin/`
|
|
|
|
## Usage
|
|
|
|
From command line execute:
|
|
|
|
```
|
|
git my
|
|
```
|
|
|
|
### Options
|
|
|
|
Currently git-my supports one argument, the remote branch to test against. E.g.
|
|
running:
|
|
|
|
```
|
|
git my origin/qa
|
|
```
|
|
|
|
will give you a list of your remote branches and tell you which ones have been
|
|
merged into `origin/qa`.
|
|
|
|
## To do
|
|
|
|
- Colorize output
|
|
- Options support
|
|
|
|
```
|
|
-v|--version
|
|
-h|--help
|
|
-d|--decorate LOCAL,MERGED
|
|
-r|--remote-ref origin/master
|
|
-U|--username
|
|
--no-color
|
|
--no-header
|
|
--no-decorate
|
|
```
|
|
|
|
|
|
Copyright (c) 2015 David O'Trakoun <me@davidosomething.com>
|
|
|