The global Git configuration file is in your home directory: You have the choice of configuring Git globally or on a per-repository basis (for example, you might need to use one set of configuration for Drupal contributions, and another for Git at your workplace). Git configuration is stored in a plain-text configuration file called. Git configuration files (global and per-repo) 12.The following steps will need to be done on each installation of Git you use to contribute to Drupal (home, office, laptop, etc). The key bindings can be customized: See Key Config on how to set them to vim-like bindings. However, you can customize everything to your liking: See Themes. Gitui should automatically work on both light and dark terminal themes. Windows: %LOCALAPPDATA%/gitui/gitui.log.Linux using XDG: $XDG_CACHE_HOME/gitui/gitui.log.macOS: $HOME/Library/Caches/gitui/gitui.log.To run with logging enabled run gitui -l. This feature enabled by default, to disable: cargo install -no-default-features 8. Works if libgit2 builded with -DENABLE_TRACE=ON If you are not familiar with rust and cargo: Getting Started with Rust Cargo Features trace-libgit The simplest way to start playing around with gitui is to have cargo build and install it with cargo install gitui. To run the complete test suite python is required (and it must be invokable as python) a c compiler (msvc, gcc or clang, cargo will find it).perl >= 5.12 (strawberry perl works for windows ).Minimum supported rust/ cargo version: 1.65 (intel Mac, uses Rosetta on Apple silicon, single binary).However, for personal use it is reasonably stable and is being used while developing itself. Installation Top ▲įor the time being this product is in alpha and is not considered production ready. Eventually, I will be able to work on making gitui a one stop solution - but for that I need help - this is just a spare time project for now.Īll support is welcomed! Sponsors as well! ❤️ 6. The priorities for gitui are on features that are making me mad when done on the git shell, like stashing, staging lines or hunks. credential.helper for https needs to be explicitly configured (see #800)Ĭurrently, this tool does not fully substitute the git shell, however both tools work well in tandem.visualize branching structure in log tab ( #81). These are the high level goals before calling out 1.0: Benchmarks Top ▲įor a RustBerlin meetup presentation ( slides) I compared lazygit, tig and gitui by parsing the entire Linux git repository (which contains over 900k commits): GitUI provides you with the user experience and comfort of a git GUI but right in your terminal while being portable, fast, free and opensource. Unfortunately popular git GUIs all fail on giant repositories or become unresponsive and unusable. I do most of my git work in a terminal but I frequently found myself using git GUIs for some use-cases like: index, commit, diff, stash, blame and log. Browse commit log, diff committed changes.Branch List (create, rename, delete, checkout, remotes).Stashing (save, pop, apply, drop, and inspect).Stage, unstage, revert and reset files, hunks and lines.hooks: pre-commit, commit-msg, post-commit) Inspect, commit, and amend changes (incl.Context based help ( no need to memorize tons of hot-keys).Fast and intuitive keyboard only control.GitUI provides you with the comfort of a git GUI but right in your terminal
0 Comments
Leave a Reply. |