Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karimaziev/git-util
Emacs git utils.
https://github.com/karimaziev/git-util
emacs git
Last synced: 4 days 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-09T12:22:38.000Z (5 days ago)
- Last Synced: 2024-11-09T13:24:24.677Z (5 days ago)
- Topics: emacs, git
- Language: Emacs Lisp
- Homepage:
- Size: 196 KB
- Stars: 0
- Watchers: 2
- 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.