All git helpers requires: git (obviously)
Put (or link) these files into your configuration directory at
~/.config/git
Git configuration file, you want to check and maybe make some local adaptions.
Git configuration file, local part. This can differ for each user/machine.
Adapt and put into your configuration directory.
Git ignore file, maybe you want to make some local adaptions too.
Git attributes, installs custom Excel textdiff, see below
Git Helper; Prepares a "Git-Bash" with git-prompt and git-bash-completions
Language: Bash
Git Helper; Merges a branch and performs branch cleanup afterwards
Language: Bash
Git Helper; Removes a submodule
Language: Bash
Git Helper; Prunes remote and local branches
Language: Bash
Text representation of Excel sheets for text diff, see below
Language: Bash
Requires: xlsx2csv
Difftool entry for LibreOffice, see below
Language: Bash
Requires: libreoffice
Usually you want to avoid having binary files in Git.
But in some circumstances especially Excel spreadsheets are
helpful for presenting information and doing calculcation in an easy way.
To allow some way of seeing changes in these kind of documents two methods are available.
- Opens the new document and prints instructions how to compare documents in LibreOffice
- Suitable for all formats understood by LibreOffice
- Invoke with
git difftool --tool lo - Setup
- Git config file: Section [difftool "lo"]
- Tool g-diff-libreoffice
- Convert all sheets in Excel document into CSV files for textual diff
- Automatically invoked for every diff concerning XLSX files
- Disable with "--no-textconv", e.g. for many diffs (runtime)
- Setup
- Git attributes file: "*.xlsx diff=excel"
- Git config file: Section [diff "excel"]
- Tool g-diff-excel