Skip to content

phluks/create-git-conflict.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

INTRO

This script sets up mergeconflicts for testing purposes.

It creates a couple of files with some arbitrary content. 

It then crates two branches (a and b) and makes conflicting changes to 
both files on both branches.

Finally it merges the branches and voila, you have conflicts.

USAGE

create-git-conflict.sh --run

WARNING

The script deletes branches a and b before it re-creates
them. Make sure, that you don't have any branches named a or b in
your git repo. The script cannot check for it.

About

Make git conflicts for testing purposes.

Resources

Stars

Watchers

Forks

Packages

No packages published