https://github.com/karimaziev/git-util
Emacs git utils.
https://github.com/karimaziev/git-util
emacs git
Last synced: 2 months ago
JSON representation
Emacs git utils.
- Host: GitHub
- URL: https://github.com/karimaziev/git-util
- Owner: KarimAziev
- License: gpl-3.0
- Created: 2022-08-07T11:36:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2026-03-04T08:27:36.000Z (4 months ago)
- Last Synced: 2026-03-04T14:30:54.938Z (4 months ago)
- Topics: emacs, git
- Language: Emacs Lisp
- Homepage:
- Size: 234 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* git-util
Collection of git functions and commands for emacs.
** Requirements
+ Emacs >= 27.1
+ [[https://github.com/KarimAziev/ivy-yarn][ivy-yarn]] (optional)
+ jiralib (optional)
+ vc-git
+ url-parse
** Installation
*** Manually
Download repository and it to your load path in your init file:
#+begin_src elisp :eval no
(add-to-list 'load-path "/path/to/git-util)
(require 'git-util)
#+end_src
*** With use-package and straight
#+begin_src elisp :eval no
(use-package git-util
:straight (git-util
:repo "KarimAziev/git-util"
:type git
:host github)
:commands (git-util-change-remote-to-ssh
git-util-clone-repo
git-util-clone-npm-repo
git-util-visit-remote))
#+end_src
** Commands
*** ~git-util-change-remote-to-ssh~
Switch remote urLs from HTTPS to SSH.
*** ~git-util-clone-repo~ (&optional url)
Clone repository at URL into TARGET-DIR or ~km-download-default-repo-dir~.
*** ~git-util-clone-npm-repo~
Clone repository of npm package.
*** ~git-util-visit-remote~
Return plist of current git repo as straight recipe :repo, :type and :host.
** Customization
*** ~git-util-autoinstall-chrome-session-dump~
Whether to install [[https://github.com/lemnos/chrome-session-dump][chrome-session-dump]] as additional source of git url completions.