Skip to content

reid-moffat/git-bash-shortcuts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

122 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bash Shortcuts

An evolving collection of bash & git scripts & shortcuts for efficiency and consistency

⭐: Top shortcuts

git

  • git-send: Add, commit and push all your changes in one line ⭐
  • create-branch: Creates and pushes a new branch to the remote ⭐
  • aliases: Helpful git aliases
  • hard-reset: Removes all local (tracked) changes
  • git-amend: Adds local changes, amends previous commit (no message edit), and force pushes
  • after-pr Refresh local git data after making a PR to main
  • branch-refresh: Refreshes the list of branches on your local machine and allows for deletion
  • delete-branch: Deletes a branch locally and remotely
  • gitignore-refresh: Refreshes files in your repo after a .gitignore change
  • in-repo: Checks if you are in a git repository
  • gerrit: Shortcuts for if you use gerrit

Bash

  • sed-and-verify: Replace & verify text in a file ⭐
  • startup: Some commands to run each time you open a terminal
  • helpful-commands: Useful commands for building your own scripts
  • aliases: Helpful aliases for working with bash

other

  • agents: Claude Code helpers
  • npm: npm/pnpm helpers

Note: These are run using Git Bash on Windows, so they don't include any Unix-specific commands like 'sudo' or 'tree'. Also feel free to play around with the code, these are just suggestions! Make a PR/issue if you think something can be expanded or improved 🙂

About

A collection of useful bash scripts and aliases

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages