Skip to content

RyoNakagami/regmonkey-gitcommand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

regmonkey_gitcommand

Release License Issues


  • This repository contains a collection of useful Git commands and scripts to help manage and automate your Git workflow.
  • This repository is primarily intended for use on Linux or macOS systems.

Dependency

command Ubuntu MacOS
tree apt install tree brew install tree
yamlcli uv tool install git+https://github.com/RyoNakagami/yamlcli.git uv tool install git+https://github.com/RyoNakagami/yamlcli.git

Install

  1. Clone the repository:

    git clone https://github.com/RyoNakagami/regmonkey_gitcommand.git
  2. [Optional]: dependency check

    If you need to check dependencies, please run:

    bash ./setup_dependency.sh
  3. setup path

    write the fowllowing line in your .zshrc or .bashrc

    export PATH="$PATH:$HOME/.tool.d/regmonkey_gitcommand/src"
  4. Permission

    Make the scripts executable:

    chmod +x ~/.tool.d/regmonkey_gitcommand/src/*

Uninstall

  1. Delete the directory ~/.tool.d/regmonkey_gitcommand
  2. Delete the line export PATH=$PATH:~/.tool.d/regmonkey_gitcommand/src in your .zshrc or .bashrc
rm -rf ~/.tool.d/regmonkey_gitcommand

RECOMMENDATION: Update your a gitconfig

To enhance your Git experience with some convenient aliases, please add the following lines to your .gitconfig file:

[alias]
  # regmonkey_gitcommand
  add-newline = "!git-add-newline.sh"
  add-patch = "!git-add-patch.sh"
  browse = "!git-browse.sh"
  check-commitsize = "!git-check-commitsize.sh"
  delete-current-repo = "!git-delete-current-repo.sh"
  delete-obsolete-branch = "!git-delete-obsolete-branch.sh"
  issue2pr = "!git-issue2pr.sh"
  lastdiff = "!git-lastdiff.sh"
  newline-check = "!git-newline-check.sh"
  sprint-commit = "!git-sprint-commit.sh"
  tree = "!git-tree.sh"
  tmp-checkout = "!git-tmp-checkout.sh"
  whoami = "!git-whoami.sh"

These aliases provide shortcuts for common commands, making your workflow more efficient. For example, git check-commitsize will run the git-check-commitsize command, and git tree will run the gtree command.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or suggestions, please open an issue or contact the repository owner.

About

A command-line tool to manage Git repositories with ease.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors