Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ricopinazo authored May 9, 2024
1 parent a6f7a23 commit 07c6f40
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,12 @@ $ comai squash the last 3 commits into a single commit
❯ git rebase -i HEAD~3
$ comai show me all the branches having commit c4c0d2d in common
❯ git branch --contains c4c0d2d
chat-api
configparser
❯ git branch -a --contains c4c0d2d
fix/terrible-bug
awesome-feature
* main
```
3. Check the weather forecast for your location:
```shell
$ comai show me the weather forecast
❯ curl wttr.in
```
4. Find the annoying process using the port 8080:
```shell
Expand All @@ -96,12 +89,8 @@ $ comai show me the process using the port 8080
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 36350 pedrorico 18u IPv4 0xe0d28ea918e376b 0t0 TCP *:http-alt (LISTEN)
$ comai show me only the PID
❯ lsof -t -i :8080
36350
$ comai kill it
❯ kill $(lsof -t -i :8080)
❯ kill `lsof -i :8080 | awk '{print $2}'`
```
5. Get rid of all your docker containers:
Expand Down

0 comments on commit 07c6f40

Please sign in to comment.