An open API service indexing awesome lists of open source software.

https://github.com/nok/git-walk

Walk up and down in revisions of a Git repository.
https://github.com/nok/git-walk

git workflow

Last synced: 6 months ago
JSON representation

Walk up and down in revisions of a Git repository.

Awesome Lists containing this project

README

          

# git-walk

Walk up and down in revisions of a [Git](https://git-scm.com/) repository.

## API

Checkout the last or latest commit:

```
git walk (last|latest)
```

Checkout the first or oldest commit:

```
git walk (first|oldest)
```

Walk down and checkout the previous commit:

```
git walk prev [n_commits]
```

Walk up and checkout the next commit:

```
git walk next [n_commits]
```

## Installation

Clone the repository and register the new command locally:

```bash
git clone https://github.com/nok/git-walk.git && cd ./git-walk && bash ./install.sh
```

## License

The extension is Open Source Software released under the [MIT](license.txt) license.