gitTools : Set of tools to perform multiple git commands.
script karma |
Rating 9/3,
Downloaded by 740 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Javier Puigdevall |
|
script type |
utility |
|
description |
This plugin allows to perform multiple git commands from within vim and show the results.
Also: https://github.com/javipv/gitTools.vim
You will be able to perferom the basic git commands like, checkout, commit, push, pull, merge, cherry-pick, show-ref, log, navigate through branches and display diffs and vimdiffs on changes.
This is a port of plugin svnTools, modified to use git instead of svn.
Use :Gith to view an abridged command help.
Use :Git to show the commands on menu to select and launch a commands non requiring arguments.
When using a parameter, search all commands and show matching strings.
By instance: :Git merge to show all commands matching merge screen
It is advisable to install hi.vim (https://www.vim.org/scripts/script.php?script_id=5887) to display results colorized.
|
|
install details |
Minimum version: Vim 7.0+
Recomended version: Vim 8.0+
Install vimball:
download gitTools_0.1.0.vmb
vim gitTools_0.1.0.vmb
:so %
:q |
|
script versions (upload new version)
Click on the package to download.
gitTools_0.1.0.vmb |
0.1.0 |
2023-06-15 |
7.0 |
Javier Puigdevall |
- New: command Gitcp (cherry-pick), Gitcpe (cherry-pick --edit) and GitcpNC (chrerry-pick --no-commit)
If no hash provided, try extract hash from current line or word under cursor.
- New: Gitro and Gitrov to change default remote (by default set to: origin, modify on g:gitTools_origin).
- New: Gitc to show git config.
- New: Gitbc to show git config of current branch.
- Fix: on :Gitda show commit log header strings commented.
- NEW!: menu to select options. Apply this menu to every local/remote branch selection.
- NEW!: command Git, to open a menu and select a git command to launch.
- New: command Gitmcs to search merge tags when solving conflicts.
- New: command GitlG to show graph with only oneline per commit.
- New: Gitreseth and Gitresetm to launch hard and medium resets.
- Change: Gitreset to launch soft reset on provided hash number or hash number under cursor. |
gitTools_0.0.7.vmb |
0.0.7 |
2023-04-04 |
7.0 |
Javier Puigdevall |
- New: Gitsr ARGS (git show-ref ARGS) and Gitsrt (git show-ref --tags) to call show-ref commands.
- New: Gitid info describe (--tags --always --dirty).
- Fix: improve isGitAvailable time by moving to git branch command.
- New: command Gitrso to show remote branches origin.
- New: command Gitbr to show remote branches.
- Change: for Gitb, Gitsw, Gitbd... improve command speed, do not aswk isGitAvailable.
use git branch response to know if git is available.
- Change: rename git commit all from Gitcma to GitcmAll.
- Change: rename git commit ammend from GitcmA to GitcmAm.
- Change: change conflict merge commands to Gitmc[f/p/h/rm].
- New: command GitmbS to merge branch with squash parameter, merge as a
single commit.
- New: command Gitmb to merge branch.
- New: improve GitRM command to remove files from disk, adding menu option 'a' to
remove all files selected.
- New: command Gitbmv to rename branches.
- Fix: Gitb nor working on empty buffer.
- New: command git status :Gitsta execution on background.
- New: command :Gitreset.
- New: show Gitsw output on new window and highlight.
- New: on status commands Gita, Gitrm, Gitu, GitR and GitRM, accept % as
first argument, and substitute for current file.
- New: commands Gitlf get file's log, and Gitlfd get file's log and diff.
- New: on Gitd commands, add branch names to the buffer name.
- Fix: git merge issue (Gitm) bad substitution removing 'u' from path.
- New: add color highlighting to git pull buffer.
- New: add date to git push and git pull buffer names.
- New: adapt to Jobs.vim change. g:loaded_jobs renamed to g:VimJobsLoaded
- New: launch push and pull commands on background.
- New: on help command (:Gith), add color highlighting.
- New: remote branch merge command Gitmr.
- New: remote branch merge --squash command GitmrS, merge as a single commit.
- New: checkout command Gitco
- New: checkout and new branch command Gitcob |
gitTools_0.0.6.vmb |
0.0.6 |
2022-10-27 |
7.0 |
Javier Puigdevall |
- New: highlight command help window.
- New: branch delete command Gitbd.
- New: remote branch push command Gitpush.
- New: remote branch delete command Gitpushd.
- New: remote branch pull command Gitpull.
- New: command Gitreme to edit saved remote branches. |
gitTools_0.0.5.vmb |
0.0.5 |
2022-10-20 |
7.0 |
Javier Puigdevall |
- Fix: Gitvda, get current branch error.
- New: after commit ask user if merge files should be removed.
- New: command Gitmrm to delete the temporary files (REMOTE, LOCAL, BACKUP)
from previous merge.
- New: for commands Gitm, Gitd and Gitvd, use git diff to get unmerged or modified
files instead of git status.
- Fix: issue on merge command Gitm, error opening layout 3A.
- New: command Gitsthmv to move staged changes to stash.
- New: command Gitsthcp to copy staged changes to stash and keep local copy.
- New: command Gitstha to apply changes from stash.
- New: command Gitsthd to delete apply changes from stash.
- Change: rename Gitsh command to Gitsth.
- New: command Gitsw to perform git switch.
- Change: rename command Gita (show branches) to Gitb. |
gitTools_0.0.4.vmb |
0.0.4 |
2022-09-26 |
7.0 |
Javier Puigdevall |
- New: on commands Gitda, Gitdf..., add date, hour and branch name to the generated diff file name.
- Fix: commands Gitm, Gitmf, Gitmp used to merge conlicts. Allowed layouts: 1, 2, 3, 4.
- New: command GitcmA to ammend previous commit
- New: command Gitcma to commit all changed files already tracked skipping stage area.
- New: command GitlS to display log changing string.
- New: command Gitla to display log from author.
- New: command Gitrl to display reference log.
- New: command Gitlg to display log graph. Add color highligting with hi.vim plugin.
- Fix: on Gitsh, prevent showing diff path with a/ and b/ prefixes.
- Fix: on Gitr, prevent showing diff path with a/ and b/ prefixes.
- New: on Gitsh display both git list and git list --stat. Add color highlighting. |
gitTools_0.0.3.vmb |
0.0.3 |
2022-07-29 |
7.0 |
Javier Puigdevall |
- New: stash command Gitsh [STASH_NUM]
- Fix: perform Gitst on foreground, no need of Jobs.vim.
- New: Gitcm [FILE/DESC] command.
Launch without arguments to open commit message on first launch, then commit on
second launch.
- New: Gitds command to show diff with all staged chages.
- New: when callign Gitsta, if current buffer already shows a git status,
refresh it, do not ask user to open a new window/tab. |
gitTools_0.0.2.vmb |
0.0.2 |
2022-07-08 |
7.0 |
Javier Puigdevall |
- New: Gitvdf, do not open new tab when asking for vimdiff of current file.
- Fix: Gitvdf always shows file is not modified.
- New: remove from disk command GitRM.
- New: git move command Gitmv.
- New: remove from disk command Gitrm.
- New: git restore command Gitr.
- New: git unstage command Gitu.
- New: git add command Gita.
- Fix: call again ChooseBranchMenu(), when no branch choosen.
- New: Gitm (git merge) command to show on vimdiff the files with conflicts.
- Fix: Gitvd... and GitVD... commands not showing merge issues. |
gitTools_0.0.1.vmb |
0.0.1 |
2022-04-19 |
7.0 |
Javier Puigdevall |
Initial upload |
ip used for rating: 142.132.191.50
|