Commit graph

296 commits

Author SHA1 Message Date
Wenxuan Zhang 2db37aa4ec
feat: track the remote when possible #153 2021-06-02 13:00:51 +08:00
Wenxuan Zhang d5e0fd86e9
refactor: replace $* with $@
ref: 7c1d3b859e (commitcomment-50792390) (thanks @ytian81)
2021-05-14 10:18:48 +08:00
Wenxuan 7806fc3ab3
Merge pull request #151 from cjappl/gco_fish
GCO for fish
2021-04-09 08:22:30 +08:00
Chris Apple 82f964e31e first attempt gco fish 2021-04-08 15:26:00 -07:00
Chris Apple 509ef98d19
Merge pull request #150 from wfxr/feat-git-checkout-commit
feat: add gco to checkout a commit
2021-04-08 15:11:49 -07:00
Wenxuan Zhang 7c1d3b859e
feat: add gco to checkout a commit 2021-04-07 17:23:00 +08:00
Chris Apple 81c35227cb
feat: implement gfu for fish (#149)
* first attempt at fish gfu

* small tweak for test

* First commit

* Second commit

* fixup! First commit

* fixup! First commit

* removing test files

* Fixing typo after testing

* fixup! First commit

* Fix bug in original implementation

* fixup! First commit

* removing test file

* Commit 1 test

* Commit 2 test

* Finished fish implementation
2021-04-07 08:37:21 +08:00
Chris Apple ff4bb52d14
Merge pull request #148 from cjappl/log-format
Implemented log format for fish
2021-04-05 11:28:30 -07:00
Chris Apple e7940f3755 Implemented log format for fish 2021-04-05 11:26:29 -07:00
Wenxuan Zhang 6529356615
docs: add a link to #147 2021-04-01 09:40:18 +08:00
Wenxuan Zhang e45eff4904
docs: fix contributors badge 2021-03-29 12:15:58 +08:00
Ariel Davidov 69d6639220
feat: add fixup function (#146)
* Add fixup function

Signed-off-by: Ariel Davidov <arik.davidov@gmail.com>

* refactor: more accurate editor

* refactor: support to fixup the first commit

Co-authored-by: Wenxuan Zhang <wenxuangm@gmail.com>
2021-03-29 12:08:38 +08:00
rlanore 416ac0308f
fix: fix reset parameter in FORGIT_LOG_FORMAT default value (#145)
* Fix reset color int FORGIT_LOG_FORMAT default value

* Fix FORGIT_LOG_FORMAT default doc
2021-03-25 20:55:46 +08:00
rlanore 8538c052bf
feat: support custom git log format (#143)
* Add option to git log format tunnable

* Add FORGIT_LOG_FORMAT doc

* Fix shellchecks

* rename options misc

Co-authored-by: Wenxuan Zhang <wenxuangm@gmail.com>
2021-03-25 11:15:18 +08:00
Wenxuan 983a50140b
Merge pull request #142 from cjappl/fish_vim_gcb
Fish vim gcb
2021-03-13 12:15:48 +08:00
Christopher Apple 74724a80cb Moved to new argument names version of arg parsing 2021-03-12 13:15:48 -08:00
Christopher Apple 58ae7dce87 first attempt at fixing both 2021-03-12 12:58:50 -08:00
Carlos de Paula 3faab44f66 Use argument to create new branch on gcb 2021-03-12 12:58:50 -08:00
Wenxuan 12b8881573
Merge pull request #140 from carlosedp/gcb-args
Use argument to create new branch on gcb
2021-03-10 21:33:41 +08:00
Carlos de Paula 47ed525130 Use argument to create new branch on gcb 2021-03-10 10:21:01 -03:00
Wenxuan Zhang 15383e6b4d
fix: fix copy without newline (#141)
Don't known why `tr -d '\n'` inner fzf options doesn't work.
Use `tr -d '[:space:]'` instead. It's OK for this scenario.
2021-03-10 10:01:20 +08:00
Wenxuan 304a5aa268
Merge pull request #139 from wfxr/dev
fix: improve compatibility for vim
2021-03-09 09:56:18 +08:00
Wenxuan Zhang 29bc286228
fix: improve compatibility for vim (#138) 2021-03-08 10:39:19 +08:00
Wenxuan c57c9f9172
Merge pull request #137 from wfxr/dev
Add license content as `mit-license.org` suggested.
2021-03-05 11:08:25 +08:00
Wenxuan Zhang 9a8ae69529
docs: add bedges 2021-03-01 11:44:37 +08:00
Wenxuan Zhang ca769c2377
chore: add LICENSE content 2021-03-01 11:40:57 +08:00
Wenxuan 4ad0cac6e1
Merge pull request #135 from abheyogy/master
Update README.md
2021-03-01 10:20:19 +08:00
Abheyogy 06f5abb8e5
Update README.md
Adds installation option for zinit.
2021-02-26 15:05:28 +05:30
Chris Apple 7b18caa340
Fish checkout branch - updated internal function names to checkout::file and checkout::branch (#134)
* Initial commit, gcb working and function names fixed

* Fixing indentation
2021-02-18 11:51:54 +08:00
Yiannis 4cd46818a5
feat: add gcb to switch branches in a repo (#131 #26 #101)
I added `gcb` which is used to list all the branches and checkout into
one of your choice. I believe this is a useful functionality especially
when a repo has too many branches to rememmber and lookup.

The preview shows the log graph from the selected branch.
I have removed keybinding for copy commit hash on gcb alias

Signed-off-by: b10n1k <jbonatakis@gmail.com>
2021-02-07 18:21:51 +08:00
Chris Apple c63bd2b8d1
Merge pull request #130 from tassianoalencar/fix-readme
Fix installation documentation using fisher
2021-01-07 13:37:15 -08:00
Tassiano Alencar e57310a8c6 Fix readme installation on fisher 2021-01-06 08:55:55 -03:00
Wenxuan 84c515db1d
Merge pull request #128 from 7ocb/reset-color-after-each-line
Reset color in git format after each line
2020-12-23 09:14:09 +08:00
me 0e7399ce15 Reset color in git format after each line so next line does not get affected 2020-12-22 08:13:01 +03:00
Chris Apple 1397e6904b
Merge pull request #126 from frediz/fix-diff-execute-command
Fix forgit::diff's fzf execute because of undefined $cmd
2020-12-03 10:08:23 -08:00
Frédéric Bonnard 2baf9180ff Fix forgit::diff's fzf execute because of undefined $cmd 2020-12-03 15:37:28 +01:00
Wenxuan Zhang dde028120e
docs: prefer delta to diff-so-fancy 2020-11-25 10:23:42 +08:00
Wenxuan Zhang 95526b3130
refactor: replace "-R" with "-r" for less pager 2020-11-11 19:36:14 +08:00
Chris Apple b4b0e10a05
Merge pull request #124 from wfxr/fish_rebase
Git rebase for fish shell
2020-11-09 10:23:41 -08:00
Christopher Apple 32807e67da Git rebase for fish shell 2020-11-09 10:07:47 -08:00
Chris Apple d142b681ff
Merge pull request #122 from wfxr/feat-rebase
Add rebase function
2020-11-06 09:05:27 -08:00
Wenxuan Zhang 074059454d
docs: add grb docs 2020-11-03 15:49:55 +08:00
Wenxuan Zhang 968d362997
feat: add forgit::rebase function 2020-11-03 15:47:11 +08:00
Wenxuan Zhang 50495dc421
docs: update fish shorten url etc (#116) 2020-10-14 12:33:00 +08:00
Wenxuan Zhang 2d950aa2c4
fix: export global variables for omf (#116) 2020-10-14 12:11:56 +08:00
Wenxuan Zhang 18edc577a0
refactor: replace symbol link with actual file (#116) 2020-10-14 10:33:26 +08:00
AoHiyuki 56f5aaafbc
feat: add fisher support for fish
Fix typo in function name and add some function descriptions

Update fish ci job

Update README

Update README for fish manual installation, revert shortlink

Merge all the files back to 1 like before

refactor: use symbol link

docs: simplify changes
2020-10-13 11:04:47 +08:00
Wenxuan Zhang dccfff52e5 refactor: FORGIT_IGNORE_PAGER etc. (#112) 2020-09-11 17:20:46 +08:00
Wenxuan Zhang 6c6e493b94 refactor: prefer using .cache directory 2020-09-11 17:11:58 +08:00
Wenxuan Zhang 56ece45973 fix: fix FORGIT_GI_REPO_LOCAL error in subshell 2020-09-11 16:59:00 +08:00