Skip to content

reid-moffat/git-bash-shortcuts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

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
  • 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

Note: I use Windows Terminal with Git Bash (recommended), so I didn't add 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 improved 🙂

About

A collection of useful bash scripts and aliases

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages