Skip to content

git-random: quickly build random-content Git trees to a specified shape. An aid for learning and experimenting with Git

License

Notifications You must be signed in to change notification settings

olets/git-random

Repository files navigation

git-random GitHub release (latest by date) GitHub commits since latest release

git-random: build random-content Git trees quickly. An aid for learning and experimenting with Git.

Say you want to try some Git commands on this scenario:

a < b < c(branch-a)
  \
    d < e(branch-b)

Get there with

git switch -c branch-a
git random 2 # creates commits b and c
git switch -c branch-b @~2
git random 2 # creates commits d and e

 

Documentation

📖 https://git-random.olets.dev/

 

Changelog

See the CHANGELOG file.

Contributing

Thanks for your interest. Contributions are welcome!

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Check the Issues to see if your topic has been discussed before or if it is being worked on.

Please read CONTRIBUTING.md before opening a pull request.

License

  • git-random by Henry Bley-Vroman is, with the exception of its logo as covered below, licensed under a license which is the unmodified text of CC BY-NC-SA 4.0 and the unmodified text of a Hippocratic License 3. It is not affiliated with Creative Commons or the Organization for Ethical Source.

    Human-readable summary of (and not a substitute for) the LICENSE file:

    You are free to

    • Share — copy and redistribute the material in any medium or format
    • Adapt — remix, transform, and build upon the material

    Under the following terms

    • Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • Non-commercial — You may not use the material for commercial purposes.
    • Ethics - You must abide by the ethical standards specified in the Hippocratic License 3 with Ecocide, Extractive Industries, US Tariff Act, Mass Surveillance, Military Activities, and Media modules.
    • Preserve terms — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
    • No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
  • The git-random logo is licensed under the Creative Commons Attribution 3.0 Unported License. It is a modification of the Git logo created by Jason Long and is licensed under the same license. The license is available in the LICENSE_LOGO file.

Acknowledgments

Inspired by seeing Lorna Jane Mitchell use Matthew J. McCullough's generaterandomchanges in her talk "Advanced Git for Developers".

About

git-random: quickly build random-content Git trees to a specified shape. An aid for learning and experimenting with Git

Resources

License

Code of conduct

Stars

Watchers

Forks