shortcuts for long github command
- Start by creating a script file and save it in a secure location. For example, you can name it
.gitScript.sh
.
- Copy the contents of the
script.sh
file in this repository into your newly created script file.
- Add the path of your script's location to your environment.
- On Ubuntu, you can do this by appending the following line to your
~/.bashrc
file:source ~/your-folder-path/.gitScript.sh
Replaceyour-folder-path
with the actual path to your script.
- Save the changes made to the
~/.bashrc
file.
- Run the following command to apply the changes to your current session:
source ~/.bashrc