Commit graph

312 commits

Author SHA1 Message Date
Wenxuan Zhang 950a7352db
support fish shell 2021-10-20 10:17:03 +08:00
Jonathan Wren 5403f42acf add to readme 2021-10-17 23:42:26 -07:00
Jonathan Wren 96d0924aef fix typos in docs 2021-10-17 23:40:42 -07:00
Jonathan Wren df36068105 add some comments for clarification 2021-10-17 23:36:16 -07:00
Jonathan Wren 8bcd87af38 change dash to underscore for bin/git-forgit
Using an underscore instead of a dash simplifies the workflow and
documentation by making the commands and environment variables that
forgit uses the same (i.e. `git forgit checkout_file` is the same
command referred to by `forgit_checkout_file`)
2021-10-17 23:33:00 -07:00
Jonathan Wren d6fa65ec92 clean up documentation format for readme alias section 2021-10-17 23:18:46 -07:00
Jonathan Wren 800b35c687 update alias documentation 2021-10-17 23:16:13 -07:00
Jonathan Wren 896aaa44a4 add handling for standalone version of forgit (for use in git commands) 2021-10-17 22:56:32 -07:00
Wenxuan Zhang 8107352941
fix: gcb can switch to an existed branch 2021-09-23 10:17:23 +08:00
Chris Apple 9f3a423920
Fix issue where gitignore cache was not being properly set up
fix #161
2021-08-02 09:15:02 -07:00
Chris Apple 339d364305
Merge pull request #159 from Cellane/fix-gcb-alias
Fix `gcb` alias in Fish
2021-07-19 10:39:52 -07:00
Milan Vit da234f6947
Fix gcb alias in Fish 2021-07-19 13:27:52 +09:00
Chris Apple c091aab4d3
Merge pull request #156 from wfxr/fix_fish_checkout_branch
Moved git checkout branch to parity with zsh. Check out remote branch when possible
2021-06-26 09:54:07 -07:00
Chris Apple 3ca1d2c1aa Moved git checkout branch to parity with zsh. Check out remote branch when possible 2021-06-26 09:52:09 -07:00
Chris Apple 9699eec955
Merge pull request #154 from ray-x/master
Bugfix: gd(git diff) for fish does not work with arguments
2021-06-09 21:58:37 -07:00
ray-x 6b4df330e1 Bugfix: gd(git diff) for fish does not work with arguments 2021-06-10 12:53:14 +10:00
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