GithubHelp home page GithubHelp logo

git-fu's Introduction

Git Fu

Git utility and statistical scripts

Utility Scripts

  • clean-merge-conflicts.sh - Cleans any *.bak files left over from merge tools

  • clean-repo.sh - Cleans repo of merge conflict artifacts and unreachable objects, packs unpacked objects, and forces garbage collection

  • delete-removed-remote-branches.sh - Deletes local copies of branches where the branch they were tracking on the remote has been deleted (merged PRs, for example)

  • oldest-ancestor.sh - Find the oldest ancestor (SHA) of the current branch

  • rename-stash.sh - Change the name (message) of an existing stash

  • resolve-pr-conflicts.sh - Help solve PR conflicts from GitHub - helps you fix conflicts but pushes changes back to the PR when conflicts are fixed instead of manually merging the PR

    • resolve-pr-conflicts.sh "parent-branch-name" "pr-branch-name"

Statistical Scripts

  • changes-between-commits.sh - Summary (counts) of changes for an author between two commits

    • changes-between-commits.sh "Author Name" FROM_SHA TO_SHA
  • changes-since.sh - Summary (counts) of changes for an author since a certain date

    • changes-since.sh "Author Name" "YYYY-MM-DD"
  • commits-per-author.sh - Shows count of commits per author, excluding merge commits (requires .mailmap file)

  • lines-per-author.sh - Shows the number of lines of code written by each author

git-fu's People

Contributors

jdforsythe avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.