Skip to content

Commit

Permalink
Updates in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ritankarsaha committed Jan 15, 2025
1 parent a9ef82f commit df40ff4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,27 @@ git-cli-tool/
├── go.mod
└── README.md
```

# How to Run


## To build the binary file and to move it to your bin folder.

```bash
cd <your-directory-where-you-placed-it>
go build -o git-cli ./cmd/main.go #To build the binary file.
sudo mv git-cli /usr/local/bin/
```

## Squashing the commits

```bash
cd /path/to/your/other/repository
git-cli
```

## How to delete the binary now?

```bash
sudo rm /usr/local/bin/git-cli #To delete the file from the entire system.
```

0 comments on commit df40ff4

Please sign in to comment.