Socket
Book a DemoInstallSign in
Socket

byul-alias

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

byul-alias

Simple git alias manager

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

byul-alias

byul-alias is a simple git alias manager.

npm license

Installation

You can install byul-alias using your preferred package manager:

npm

npm install byul-alias

Yarn

yarn add byul-alias

pnpm

pnpm add byul-alias

Bun

bun add byul-alias

Setup error

If the byul-alias.yml file hasn’t been created, run:

node node_modules/byul-alias/dist/setup.mjs

Or, you can manually create the byul-alias.yml file and add this code:

# Common Git Alias Shortcuts
# --------------------------
# You can customize these aliases however you like.
# Below are some of the most commonly used Git aliases:

# co: checkout    -> Switch branches or restore working tree files
# br: branch      -> List, create, or delete branches
# ci: commit      -> Record changes to the repository
# st: status      -> Show the working tree status
# lg: log --oneline --graph --decorate -> Show a graphical log of commits
# cm: commit -m   -> Record changes with an inline commit message
# a: add .        -> Stage all changes in the current directory

# Note: These are just examples.
# You can define your own shortcuts, like setting `co` to `commit`.
        
git-alias:
  co: checkout
  br: branch
  ci: commit
  st: status
  cm: commit -m

Usage

Define Your Git Aliases

Customize your Git Aliases by editing the byul-alias.yml file. Here’s an example configuration:

git-alias:
  co: checkout
  br: branch
  ci: commit
  st: status
  cm: commit -m

This setup ensures that your Git aliases are consistently applied across your project.

Install and Apply Aliases

Once your Git Aliases are configured, install and apply them effortlessly with:

npx byul-alias install
npx byul-alias add

Byul-alias automatically configures and applies your Git aliases with ease.

Contributing

We welcome contributions to byul-alias! Whether it's reporting a bug, suggesting an enhancement, or submitting a pull request, your input is valued.

License

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

Contact

For any questions, suggestions, or feedback, please contact love1ace.

Keywords

git aliases

FAQs

Package last updated on 27 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts