Skip to content

Commit cd420c7

Browse files
Merge pull request #1 from ivan-developer-01/feature/add-fast-way
Add fast way to install
2 parents ff43df8 + ff1e45e commit cd420c7

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ echo 'alias gs="git status"' >> $LAZYGITCOMMIT_FILE
1616

1717
That's it!
1818

19+
## Fast way to install
20+
21+
Run
22+
23+
```bash
24+
curl https://raw.githubusercontent.com/ivan-developer-01/lazy-gitcommit/main/install.sh | sh
25+
```
26+
1927
## Help on commands
2028

2129
- `gc` - Add the current directory to Git and commit changes

install.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
LAZYGITCOMMIT_FILE=~/.bashrc
2+
echo 'function gc { git add .; git commit -S -m "$*"; };' >> $LAZYGITCOMMIT_FILE
3+
echo 'alias gp="git push"' >> $LAZYGITCOMMIT_FILE
4+
echo 'alias gl="git log"' >> $LAZYGITCOMMIT_FILE
5+
echo 'alias gs="git status"' >> $LAZYGITCOMMIT_FILE

0 commit comments

Comments
 (0)