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

clean sugar git #104

Merged
merged 20 commits into from
Nov 22, 2023
Merged

clean sugar git #104

merged 20 commits into from
Nov 22, 2023

Conversation

amtoine
Copy link
Owner

@amtoine amtoine commented Nov 21, 2023

related to

description

this is an effort to

  • update the nu-git-manager-sugar git module
  • remove deprecated / useless commands
  • expose the meaningful ones as subcommands of gm
  • add tests when possible

kept commands

  • get commit -> gm repo get commit
  • root -> gm repo goto root
  • branches -> gm repo branches
  • is-ancestor -> gm repo is-ancestor
  • remote list -> gm repo remote list

removed commands

  • operations
  • compare
  • lock clean
  • remote add
  • remote remove
  • fixup

tests

a new tests sugar git module with

  • get-commit
  • goto-root
  • branches
  • is-ancestor
  • remote-list

@amtoine amtoine added enhancement New feature or request sugar Related to the `nu-git-manager-sugar` module labels Nov 21, 2023
@amtoine amtoine mentioned this pull request Nov 22, 2023
3 tasks
@amtoine amtoine marked this pull request as ready for review November 22, 2023 21:51
@amtoine amtoine merged commit c3ad086 into main Nov 22, 2023
4 checks passed
@amtoine amtoine deleted the clean-sugar-git branch November 22, 2023 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sugar Related to the `nu-git-manager-sugar` module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant