GithubHelp home page GithubHelp logo

henrik-leppa / hfl-git-gui-config Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 9 KB

My configurations for Git GUI (and a few rules for Git in general)

License: MIT License

git git-gui shell shell-scripting

hfl-git-gui-config's Introduction

HFL Git GUI Config 1.0.0

Henrik Franciscus Leppä's (HFL) configurations for Git GUI (and a few rules for Git in general).

Git GUI and Gitk are useful tools for working with Git, because they allow you to see the commit tree and pick which changes to stage, along with many other things.

Unfortunate, they do not come with many tools/commands out of the box, and they even lack "Applications" menu icons on some Linux distributions. This repository is meant to fix that.

Tools include:

  • "Checkout (assume remote: origin)"
  • "Clean -- All"
  • "Clean -- One File"
  • "Commit -- Undo"
  • "Fetch All Branches And All Submodules"
  • "Fetch And Fast-Forward All Branches"
  • "Filesystem Check -- Unreachable Objects"
  • "Help with tools"
  • "Log -- Unpushed"
  • "Merge (No Fast-Forward)..."
  • "Merge -- Abort"
  • "Merge -- Continue"
  • "Open Terminal"
  • "Rebase (automatic)"
  • "Rebase (get command for interactive)..."
  • "Rebase -- Abort"
  • "Rebase -- Continue"
  • "Reference Log"
  • "Reference Log (Reversed)"
  • "Run Command In 'Commit Message' Field"
  • "Stash -- Apply By Index..."
  • "Stash -- Apply By Name..."
  • "Stash -- Drop By Index..."
  • "Stash -- Drop By Name..."
  • "Stash -- List"
  • "Stash -- Pop By Index..."
  • "Stash -- Pop By Name..."
  • "Stash -- Push Unstaged..."
  • "Stash -- Push..."
  • "Tag -- Delete"
  • "Tag -- List With Message"
  • "Write Commit Template"

Prerequisites

Setup

  1. Edit gitconfig.txt:

    • Replace all instances of string: ~/INSERT/PATH/TO/REPO/HERE/gitconfig.txt with your path to gitconfig.txt file.

    • Comment out or remove any rules you don't like under: [core], [color], [init], and [gui] sections.

    • (Add your own tools, if you want.)

  2. Link to gitconfig.txt file in ~/.gitconfig by running the following in the terminal:

    git config --file ~/.gitconfig include.path '~/INSERT/PATH/TO/REPO/HERE/gitconfig.txt'
  3. Optional: Add launcher to Linux "Applications" menu:

    • Note: This is intended for at least Linux Mint, but may work on other Ubuntu-based distros as well.

    • Link git-gui.desktop to ~/.local/share/applications by running the following in the terminal:

      ln -s ~/INSERT/PATH/TO/REPO/HERE/git-gui.desktop ~/.local/share/applications
      • For this to come into effect, logging out and logging back in may be required.

hfl-git-gui-config's People

Contributors

henrik-leppa avatar

Stargazers

 avatar

Watchers

 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.