Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidosomething/git-my
Lists a user's remote branches and shows if it was merged and/or available locally
https://github.com/davidosomething/git-my
git
Last synced: 3 months ago
JSON representation
Lists a user's remote branches and shows if it was merged and/or available locally
- Host: GitHub
- URL: https://github.com/davidosomething/git-my
- Owner: davidosomething
- License: mit
- Created: 2015-03-05T19:59:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T06:48:14.000Z (over 4 years ago)
- Last Synced: 2024-05-02T00:22:36.999Z (6 months ago)
- Topics: git
- Language: Shell
- Homepage: https://github.com/davidosomething/git-my
- Size: 140 KB
- Stars: 33
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-my
Lists all of a user's branches, including local and remote, and shows:
- if a remote branch is checked out locally
- if a local branch is tracked remotely
- if a local branch is up-to-date with a specified branch| 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:
![Example output](https://raw.githubusercontent.com/davidosomething/git-my/docs/screenshot.png)## Installation
- Requires BASH 4+
- Add the `git-my` file somewhere in your path, e.g. `/usr/local/bin/`### zplug installation
Super simple if you use zplug:
```sh
zplug "davidosomething/git-my", as:command
```## Usage
From command line execute:
git my
### Options
#### Remote comparison branch
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
-v|--version
-h|--help
-U|--username
--local
--merged
--tracked----
Copyright (c) 2017 David O'Trakoun