confligt

command module
v0.0.0-...-8a03eb9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2018 License: MIT Imports: 1 Imported by: 0

README

confligt

Find conflicting branches in git repositories

Installation

If you have a working golang development environment: go get github.com/alisaifee/confligt

If you are using a mac & use homebrew: brew tap alisaifee/homebrew-tap && brew install confligt

If you are on a debian based OS, grab a .deb from here

Synopsis

Confligt finds conflicting branches in git repositories.

Without any arguments or flags, confligt will inspect all local & remote branches in the current working directory - that have commits since 7 days ago - against each other and other remote branches (from the default origin) to find conflicting pairs.

confligt [flags]

Examples


# Filter by branches that were updated a day ago
$ confligt --since='1 day'

# Filter by branches that start with foo- or bar-
$ confligt --filter='\b(foo|bar)-'

# Inspect branches in the remote named alice. Use develop as the default branch.
$ confligt --remote=alice --main=develop
	

Options

      --concurrency int   Number of branches to check concurrently (default NUMCPUs/2)
      --config string     config file (default is $HOME/.confligt.yaml)
      --fetch             Fetch from remote before inspecting
      --filter string     Regular expression to match branch names against
  -h, --help              help for confligt
      --include-local     Include local branches when finding conflicts (default true)
      --include-remote    Include remote branches when finding conflicts (default true)
  -m, --main string       Name of main branch (default "master")
      --mine              Inspect only your own branches
  -r, --remote string     Name of remote (default "origin")
  -s, --since string      Consider branches with commits since (default "7 days")
  -v, --verbose           Display verbose logging

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL