Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.2.0 is here #51

Merged
merged 33 commits into from
Jun 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
340a0fb
remove old implementation
isacikgoz Jun 9, 2019
4cd51e9
start for less complex implementation
isacikgoz Feb 27, 2019
7a621eb
switch to sybchronized status load from asynchronous impl.
isacikgoz Feb 28, 2019
8a803a4
improve project structure
isacikgoz Mar 8, 2019
9ed9eab
lighten status
isacikgoz Jun 2, 2019
cc92a3c
cleanup unnecessary functions
isacikgoz Jun 2, 2019
9f754fd
add several git commands
isacikgoz Jun 3, 2019
79ee8f3
initial log implementation
isacikgoz Jun 5, 2019
2143787
remove redundent code for rendering
isacikgoz Jun 5, 2019
a495fc0
add diff and stat for commits
isacikgoz Jun 5, 2019
eba155c
improve log interface
isacikgoz Jun 6, 2019
737847d
add file stats for commit details
isacikgoz Jun 7, 2019
765124b
rename packages
isacikgoz Jun 7, 2019
85b6ec0
minor changes on functions for better code readabilty
isacikgoz Jun 8, 2019
ca7345e
add branch command
isacikgoz Jun 8, 2019
f00eade
add branch deletion
isacikgoz Jun 8, 2019
12128de
improve status printing
isacikgoz Jun 9, 2019
4031350
add go modules
isacikgoz Jun 9, 2019
f76fb6f
better app error handling
isacikgoz Jun 10, 2019
0d74a7a
fix conflicts that occured on rebasing
isacikgoz Jun 10, 2019
7e84cd7
improve help handling
isacikgoz Jun 11, 2019
d02bd23
add refs to log
isacikgoz Jun 11, 2019
64acf08
update patch file
isacikgoz Jun 12, 2019
f68fb5d
introduce cell concept for rendering
isacikgoz Jun 13, 2019
cbe4856
simplfy term package
isacikgoz Jun 15, 2019
74574fd
move some code out fo prompt
isacikgoz Jun 16, 2019
f70f827
add discard changes to status
isacikgoz Jun 16, 2019
7c3f24f
add option to disable colors
isacikgoz Jun 16, 2019
da6a055
fix a bug on selecting an item in search mode
isacikgoz Jun 16, 2019
308ed02
update patch file
isacikgoz Jun 16, 2019
1055b81
update README
isacikgoz Jun 16, 2019
81f01d0
decouple git repositroy from prompt
isacikgoz Jun 17, 2019
80db096
simplfy main loop of the prompt
isacikgoz Jun 17, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/build
.vscode
build
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
gitin is a minimalist tool that lets you explore a git repository from the command line. You can search from commits, inspect individual files and changes in the commits. It is an alternative and interactive way to explore the commit history. Also, you can explore your current state by investigating diffs, stage your changes and commit them.

<p align="center">
<img src="https://github.com/isacikgoz/gitin/blob/master/img/screencast.gif" alt="screencast"/>
<img src="https://user-images.githubusercontent.com/2153367/59564874-98fed180-9054-11e9-9341-1b2801268194.gif" alt="screencast"/>
</p>

## Features
- Fuzzy search (type `/` to start a search after running `gitin <command>`)
- Various filters for commit history (e.g. `gitin log --author="..."`)
- See ahead/behind commits (e.g. `gitin log --ahead`)
- Interactive stage and see the diff of files (`gitin status` then press `enter` to see diff or `space` to stage)
- Commit/amend changes (`gitin status` then press `c` to commit or `m` to amend)
- Interactive hunk staging (`gitin status` then press `p`)
Expand Down Expand Up @@ -60,8 +58,8 @@ Commands:

## Configure
- To set the line size `export GITIN_LINESIZE=5`
- To hide help `export GITIN_HIDEHELP=true`
- To set find method `GITIN_SEARCHMODE=<method>` (`fuzzy`, `basic` or `combined`)
- To set always start in search mode `GITIN_STARTSEARCH=true`
- To disable colors `GITIN_DISABLECOLOR=true`

## Development Requirements
- Requires gitlib2 v27 and `git2go`. See the project homepages for more information about build instructions. For gitin you can simply;
Expand Down
186 changes: 0 additions & 186 deletions cli/branch.go

This file was deleted.

57 changes: 0 additions & 57 deletions cli/commit.go

This file was deleted.

Loading