Skip to content

HamzaOralK/gitten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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