Guys how to give permission on local repository #136614
Replies: 6 comments
-
If you want to give permissions in locally setup you have user token for that for creating token go to settings and create a token for it and use that for locally |
Beta Was this translation helpful? Give feedback.
-
Try to clone your repo with your token, should fix the issue!
|
Beta Was this translation helpful? Give feedback.
-
Hi @Dilip965 , If you want to do git operations with To generate a
You can also do such operations with |
Beta Was this translation helpful? Give feedback.
-
Got It Thanks
…On Fri, 23 Aug 2024, 16:20 Davide Presti, ***@***.***> wrote:
Hi @Dilip965 <https://github.com/Dilip965> ,
If you want to do git operations with HTTPS you need a Personal Access
Token with the repo scope checked and use it as password for
authentication when doing git clone or git push.
To generate a PAT, follow these steps:
1. Click on your profile's photo, then go to Settings.
2. In the left sidebar, scroll down and click on Developer settings.
3. In the left sidebar, under Personal access tokens, click on Tokens
(classic).
4. Select Generate new token, then click Generate new token (classic)
5. Name it.
6. Choose an Expiration date
7. Select the repo scopes
0.JPG (view on web)
<https://github.com/community/community/assets/94308234/15b662a4-eee5-4238-bd1e-72de69cb60bc>
You can also do such operations with SSH, in that case the password used
for authentication would be the one you've set when generating your SSH
Key, for more info take a look at this from the docs:
- Generating a new SSH key and adding it to the ssh-agent
<https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent>
- Adding a new SSH key to your GitHub account
<https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account>
—
Reply to this email directly, view it on GitHub
<#136614 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJVLJDBKKP24X53WWZP5ID3ZS4HWXAVCNFSM6AAAAABM7P2CJCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBSHEZDAMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hey there! 👋 Thanks for posting in the GitHub Community, @Dilip965! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category. The Accessibility category is a place for our community to discuss and provide feedback on the digital accessibility of GitHub products. Digital accessibility means that GitHub tools, and technologies, are designed and developed so that people with disabilities can use them. I've gone ahead and moved this to the correct category for you. Good luck! |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
GitHub Feature Area
Actions
Body
how to give permission in local on my own repository it give denialed
Beta Was this translation helpful? Give feedback.
All reactions