Commit Graph

38 Commits

Author SHA1 Message Date
Indrajit Raychaudhuri 979144d0e4 git: Update minimum required git version to 2.11
Git 2.11+ has more versatile `submodule`, `fetch`, `rebase` options for
common use-cases.
2021-05-21 13:40:49 -05:00
Indrajit Raychaudhuri efebe3efec git: Alias and function cleanup and formatting for clarity
Changes:
- Prefer longer form of git switch for better clarity.
- Move `-S` (`--gpg-sign`) in all the alias definitions to  the end to
  allow custom keyid.
- Simplify operations in helper functions git native calls.
- Apply minor reformatting and rearranging.
2021-05-21 13:40:49 -05:00
Indrajit Raychaudhuri 1ff9421f7b general: Update documentation better qualifying runcom paths
Zsh and Prezto files don't always reside in `~/`. Instead, they have
a more spec compliant location (`${ZDOTDIR:-$HOME}/`). Make them
unambiguous in the documentation. Likewise, for `$GNUPGHOME`.

Further, add instruction for optionally setting up Prezto in
`$XDG_CONFIG_HOME`.

While at this, also add clarification on relative ordering of some of
the modules, apply more formatting tweaks and doc improvements.
2021-05-21 12:31:02 -05:00
Indrajit Raychaudhuri d80e393f78 general: Reformat documentation with better formatting and wording
General purpose reformating and rewording in (a few places). This should
also make markdown linting happier.

Prefer back-ticks wherever useful and use `console` for code blocks to
be executed on terminal.

Also, update references links wherever possible (including update from
'http://' to 'https://').
2021-05-05 12:21:04 -05:00
Diego Rabatone Oliveira 0e6429da97 Remove duplicated information from git module README (#1657) 2018-12-17 10:22:33 -08:00
Kaleb Elwert eee3c9c166 git: add documentation for new aliases 2018-12-13 10:51:56 -08:00
Jeff Widman 3d911cd511 Document `gpf` vs `gpF`
Document the difference between `gpf` and `gpF`. These were changed in https://github.com/sorin-ionescu/prezto/pull/1040 / ddfc870f9a, but never documented.
2018-05-20 14:10:13 -07:00
François VANTOMME 1b441e7654 Feat (git): add an alias displaying the commits yet to be applied to upstream (#1565) 2018-04-04 15:20:21 -07:00
Philipp A 580ddc44f3 Add another shadow to the git aliases
Originally submitted in https://github.com/sorin-ionescu/prezto/pull/979
2018-02-21 14:02:56 -08:00
Rick Jones 4325f74f9d git: add tag aliases
Originally submitted in https://github.com/sorin-ionescu/prezto/pull/1094
2018-02-21 13:48:51 -08:00
Indrajit Raychaudhuri ac628c9059 [general] Switch code block formatting to use fence formatting
Changes:
* Indented code block doesn't support syntax highlighting, use fenced
formatting (```) instead for better syntax highlighting
* Wrap commands/functions in backticks
* Typo fixes
2017-07-22 13:11:29 -05:00
Indrajit Raychaudhuri c1a8fc0469 Cleanup spurious whitespace 2017-07-13 16:41:33 -05:00
Zhiming Wang d25b251ef7 git: Add revert to special action contexts
revert is very similar to cherry-pick and has a sequence variant.
2017-07-11 12:18:19 -07:00
Khai Do ebae698f70 change alias to gfcr 2017-07-11 12:10:18 -07:00
Indrajit Raychaudhuri e6136a517b [git] Fix 'git-hub-shorten-url' helper
Changes:
- Use git.io over 'https'
- Add extra check to conform to *.github.com URLs
- Use built-in _urls function for completion
- Update readme with GitHub blog URL
2017-07-07 13:52:17 -07:00
Ihab Soliman a75c63768c Add git aliases for signing commits (#1126) 2017-06-19 01:40:44 -07:00
Kaleb Elwert 46a1ffaf7e Add gbr and gbR aliases to module readme 2017-05-01 09:43:12 -07:00
Kyle Rich 3d7a8c2870 Add some new git aliases, modify a few more. (#1301)
* Add some new git aliases, modify a few more.
* Add `gbV` command to show more verbose git branch info.
* Add `gcam` to make it possible to execute `gca; gcm '<your message
  here>'` more simply.
* Add `gii` command to temporarily untrack (ignore) a file.
* Add `giI` command to uningore a file.
* Change alias of `gbl` to `gbv`. Personally, I think aliases that
  include a switch in the command should include the switch in the alias
  if possible.  This makes them easier to remember.
* Change alias of `gbL` to `gba`. I think the `-a` switch is more
  salient to what this alias does than the `-v`.  Furthermore, with this
  PR there are already `gbv` and `gbV` aliases, so those are out.
* Change implementation of `gCl` alias to use built-in capabilities of
  git, rather than sed.
* Rename gbx and gbX to gbd and gbD respectively
* Mostly revert alias changes
* Add gbr and gbR aliases to gbm and gbM commands
2017-05-01 09:41:17 -07:00
Sudarshan Wadkar f15557159a New `alias gfa=git fetch --all` for git module
Also includes an updated README.md !
2017-04-18 02:44:01 -07:00
François Vantomme fb6f3f7ee9 Feat (aliases): add aliases for git flow 2017-04-13 02:23:05 -07:00
Eduardo San Martin Morote c0049855c5 Added option to skip git aliases definition
Fixes #947
2017-04-04 23:43:46 -07:00
Wojciech Pietrzak 65b05c0220 Add notice about potential shadowing of the gb command (#1124) 2017-04-04 22:03:47 -07:00
Sorin Ionescu a84ac5b002 Only one newline at end of file 2014-10-09 23:38:15 -04:00
Sorin Ionescu 7845c36951 Clarify Git listing aliases descriptions 2013-05-18 15:31:33 -04:00
Sorin Ionescu 75c0d49f56 Swap aliases gsd and gsL 2013-05-18 15:31:33 -04:00
Sorin Ionescu d4e78d427a Rename alias gRc to gRp 2013-05-18 15:31:32 -04:00
Sorin Ionescu e836957e4f [Fix #221] Add a simple git-info 2013-05-18 15:31:32 -04:00
Sorin Ionescu 05a6653284 Sort Git conflict aliases 2013-04-25 00:19:33 -04:00
Scott Stevenson f86854ebd4 Correct typos in git module README 2013-04-24 22:53:53 -04:00
Scott Stevenson 16a8e45cfa Wrap errant long line in git module README 2013-04-24 22:53:40 -04:00
Sorin Ionescu bb6b590919 [Fix #360] Set alias giR to reset the index interactively 2013-01-12 11:25:06 -05:00
Sorin Ionescu 1d0b0e2e9b [Fix #357] Set alias gcO to check out hunks interactively 2013-01-03 13:13:46 -05:00
Sorin Ionescu c737369083 Add an alias to ammend a git commit, including the message 2012-12-20 19:49:07 -05:00
omarriott 795495b864 Fix a typo in git documentation 2012-12-20 18:22:47 -05:00
Sorin Ionescu bb597ae22d Replace table captions with headings
GitHub does not support Markdown table captions.
2012-10-03 20:09:51 -04:00
Sorin Ionescu cfc95cd5ee [Fix #244] Add Git special action styles 2012-10-02 14:23:01 -04:00
Sorin Ionescu 4f607bb470 Simplify git-log zstyle documentation 2012-10-02 14:16:58 -04:00
Sorin Ionescu be300dbd80 [Fix #96] Add documentation for git 2012-10-02 13:01:46 -04:00