https://github.com/pj8912/gitish
bash script to automate git commands
https://github.com/pj8912/gitish
automation bash bash-script git gitcommands
Last synced: about 1 year ago
JSON representation
bash script to automate git commands
- Host: GitHub
- URL: https://github.com/pj8912/gitish
- Owner: pj8912
- Created: 2023-02-07T03:57:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-20T05:51:01.000Z (about 3 years ago)
- Last Synced: 2025-01-11T11:12:38.040Z (about 1 year ago)
- Topics: automation, bash, bash-script, git, gitcommands
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gitish

bash script to automate three git commands according to this tweet : [Tweet](https://twitter.com/adamsycodes/status/1622217516419551233)
## Example
```shell
$ ./gitish.sh this is my commit message
___ _ _ _
/ __|(_)| |_ ___| |_
| (_ || || _|(_-/| \
\___||_| \__|/__/|_||_|
[main d1cb444] this is my commit message
2 files changed, 4 insertions(+), 2 deletions(-)
```
### Linux
- Make the file executable by running the following command:
```
chmod +x gitish.sh
```
- Move the file to a directory in your PATH, such as /usr/local/bin:
```
sudo mv gitish.sh /usr/local/bin/gitish
```
- Now, you can run this custom Git command by simply typing `gitish` in the terminal.
### Windows
-
```
./gitish.bat
```
## Usage
```shell
$ gitish your commit message
```
## Contributers
- [jp](https://github.com/pj8912)
- [Aadv1k](https://github.com/aadv1k)