gitten

Crates.iogitten
lib.rsgitten
version0.3.2
sourcesrc
created_at2022-06-16 12:00:27.659561
updated_at2022-08-15 23:00:53.569996
descriptionA tool to manage git projects in a folder
homepagehttps://github.com/okhuz/gitten
repositoryhttps://github.com/okhuz/gitten
max_upload_size
id607426
size73,853
Hamza Oral (HamzaOralK)

documentation

README

Gitten

Gitten is git project manager with multiple repositories.

With gitten you can check out to new branches and tag branches from you active.

Prerequisite

To build one has to have OpenSSL installed and adjust config.toml file accordingly to be able to run and compile the project.

For mac:

brew install openssl@3

Run

cargo run <path to open in gitten with git projects inside>

Usage

To change window use "r" for Repositories, "t" for Tags and "B" for branches.

And right now while you are on repositories you can do:

Fetch a remote for a repository

:fetch <remote-name>

Checkout to a new or already in place branch:

:co <branch-name>

Pull from the current selected branch from the supplied remote:

:pull <remote-name>

Create a tag from active branch:

:tag <tag-name>

While you are on a branch or a tag you can do the following to push the selected branch or tag to the desired remote:

:push <remote-name>

To search within the selections:

/search <search-string>

To run a command with the selected repository path:

$<command-string>

This I use to open a path in the desired application,

$code

or 

$idea

or

$open

Showcase

TODO

  • Push to remote with tags or not
  • Mark dirty head and allow to reset
  • Fetch remote
  • Force pull
  • Search within the selections
  • Run commands with the path
  • Watch for folder changes
  • Add tests
Commit count: 72

cargo fmt