/aliases

Primary LanguageShell

Bash Alias Toolkit 🚀

Welcome to the Bash Alias Toolkit repository! This collection of handy aliases aims to turbocharge your command-line productivity, particularly for developers who frequently work with Git.

What are aliases?

Aliases are custom shortcuts that you can create in your shell environment to simplify and speed up common commands. Instead of typing out long and repetitive commands, you can use aliases to execute them with just a few keystrokes.

Why use aliases?

Using aliases can save you time and keystrokes, making your development workflow more efficient and enjoyable. By defining shortcuts for frequently used commands, you can reduce the cognitive load of remembering complex syntax and focus more on your actual work.

How to use

To start using these aliases, simply clone this repository or copy the contents of the .bash_aliases file into your own .bashrc or .bash_profile file. Then, open a new terminal window or run source ~/.bashrc to apply the changes.

Here are some example aliases included in this toolkit:

  • gad: Shortcut for git add. Easily stage changes for commit with gad . or gad <file>.
  • gbr: Shortcut for git branch. Quickly create, list, or switch branches with gbr, gbr -a, or gbr <branch-name>.
  • gci: Shortcut for git commit -m. Streamline your commit workflow with gci "Your commit message".
  • gco: Shortcut for git checkout. Effortlessly switch between branches or revert changes with gco <branch-name> or gco <file>.

Feel free to customize these aliases or add your own to suit your workflow preferences. Don't forget to share your favorite aliases with the community by opening a pull request!

Contributing

Contributions are welcome! If you have any useful aliases or improvements to share, please fork this repository, make your changes, and submit a pull request. Let's collaborate to make command-line development even more efficient for everyone.