-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
git-symbolic-ref: add page #6938
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
4d8fb2d
to
f12eba4
Compare
This comment has been minimized.
This comment has been minimized.
Ok, 4 hours and one evening run later. Also found |
f12eba4
to
6620978
Compare
Co-authored-by: Axel Navarro <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the new page! I've left some comments below for you to review.
…ons, avoid token syntax.
…as in most cases you'll only use names beginning with refs/ as you normally want the file to be stored under .git/refs/ or similar.
This should be ready for re-review. I've posed a question above if you would want this to go further down the "path" :) |
Friendly reminder @sbrl - anything more you want to be done here? Or anyone else we should ping to move this forward? |
Cool, thanks for the updates @sesam! We need 2 reviews to merge, so after this comment is addressed I'll request a review from a 2nd maintainer, unless someone drops in beforehand |
Co-authored-by: Starbeamrainbowlabs <[email protected]>
Co-authored-by: Axel Navarro <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @sesam!
Co-authored-by: CleanMachine1 <[email protected]>
common/
,linux/
, etc.)npm test
) passes. 😅Relates to #3953
Version of the command being documented (if known):
2.33
I'm using 2.33 and it's also the version listed on the referenced https://git-scm.com/docs/git-symbolic-ref
This git-symbolic-ref is used internally by git all the time! :)
Here's a short illustration:
➜ tldr git:(main) ✗ git rev-parse HEAD
e717d05
➜ tldr git:(main) ✗ git symbolic-ref -m TEST refs/hej HEAD
➜ tldr git:(main) ✗ git rev-parse refs/hej
e717d05
➜ tldr git:(main) ✗ git symbolic-ref --delete refs/hej