1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-02 23:27:45 +00:00
Commit graph

14 commits

Author SHA1 Message Date
Sandyandi N. dela Cruz
ba9a4c1cac
Enhance gwta (#1143)
Allow automatic association to an existing branch or creation of new
branch with `gwta` when 2nd positional parameter (`branch`) is omitted.
2025-07-17 06:53:13 -05:00
Filipp Samoilov
6faa666e55
Strip ANSI from the main branch name (#1139)
`find` highlights the returned value,
which breaks the `gcm` macro,
it returns 
```
error: pathspec '?[37m?[0m?[41;37mmain?[0m?[37m?[0m' did not match any file(s) known to git
```

I opted in to using `ansi strip` instead of `--no-highlight`, because I
think it covers wider range of nu shell versions
2025-06-30 06:25:48 -05:00
Auca Coyan
b42f2bd5c1
remove gstat dependency from git-aliases (#1020)
I removed `gstat` plugin dependency need by replacing the command.

~~The only problem is that the aliases don't work for the current
nushell version~~
Done!


fixes #973 and closes #974
2025-01-25 13:23:57 -06:00
Darren Schroeder
490cee7997
change the string interpolation in git aliases (#735)
Change the git log string interpolation for git aliases.
2024-01-14 18:05:35 -06:00
Darren Schroeder
42c6efb0a3
tweak some git aliases so they work (#734)
There were some aliases that weren't working correctly, so I tried to
fix them.
2024-01-13 21:58:23 -06:00
Robbie Nohra
c4db8e6dee
fix: missing regex flag (#712)
- `str replace` for git main branch alias is missing regex flag
- also missing removal of leading white space
2023-12-22 08:53:54 -06:00
fnuttens
93c8ea20d7
Add git aliases (#660)
- gbm: rename branch
- gbmc: rename current branch
- gbsn/gbso: bisect new/old
- gfa: fetch and prune all remote
- glod~glols: pretty logs
- gshs: show commit message
- gsta: create stash
2023-11-09 06:29:41 -06:00
fnuttens
db6396958a
Add git push origin --delete aliases (#659)
The --dry-run option is moved to gpy — I feel like it's not such a
useful command.
2023-11-07 08:38:29 -06:00
fnuttens
c2bb125a67
Fix git hard reset to origin branch alias (groh) (#654)
An extra '$' was preventing the command from working.
2023-10-31 12:09:51 -05:00
Emily Grace Seville
f86a060c10
Fix: remaining aliases (#495)
* fix(alias): exa

- reformat

* feat(alias): aws

- fix errors

* fix(aliases): clean-up

- create universal README
- remove redundant files
- rename modules

* fix(aliases): aws

- move to modules/
2023-05-16 08:56:31 -05:00
Emily Grace Seville
b3ae6f4af0
feat(aliases): reformat and use long options (#489)
* feat(aliases): reformat

* fix(aliases): broken aliases

* feat(aliases): use long options

* feat(aliases): inline defs
2023-05-13 08:07:57 -05:00
zsehanovic
967fdabe30
fix git aliases (#485)
* fix git aliases

* Update nu_alias_git.nu

semi-colons are not required

---------

Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2023-05-11 15:22:41 -05:00
Antoine Stevan
1099c9461e
REFACTOR: unify git modules and aliases (#472)
* add aliases from `modules/git/`

* remove `git` aliases from `modules/git/`

* move the `git_` tool commands to the alias file

This is the only place these commands are used.
2023-04-30 07:23:07 -05:00
TornaxO7
62a3cd13e1
adding git aliases (#337)
* adding git aliases

* adding preparation section to git

* removing not useable aliases

* probably guarantess that gtv works
2023-01-16 08:15:18 -06:00