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

Add new convenience options like --no-branches, --stash, etc. #77

Open
mhagger opened this issue Apr 23, 2021 · 1 comment
Open

Add new convenience options like --no-branches, --stash, etc. #77

mhagger opened this issue Apr 23, 2021 · 1 comment

Comments

@mhagger
Copy link
Member

mhagger commented Apr 23, 2021

All of the following can be accomplished using reference filtering (#75), but we could add new options to make them a tad more convenient (and these options would nicely complement --branches, --tags, and --remotes):

  • --no-branches — equivalent to --exclude=refs/heads
  • --no-tags — equivalent to --exclude=refs/tags
  • --no-remotes — equivalent to --exclude=refs/remotes
  • --notes / --no-notes — equivalent to --include=refs/notes / --exclude=refs/notes
  • --stash / --no-stash — equivalent to --include=refs/stash / --exclude=refs/stash
@murayamajpeg
Copy link

git cat-file -p :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants