Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I git push with app password on a Mac OS using https and terminal bash

JERRY MCLAUGHLIN March 6, 2022

I'm on a Mac OS

I'm using the terminal (bsh)

I have all my repos on the Mac and they were working before the change

I have cleared any passwords or credentials in keychain

I do not want to issue pull commands in my repos

How can I implement an app password (preferably globally) to enable

$ git push origin main

and not get an error (right now it is a 403 error)

Thanks,

 

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 9, 2022

Hi Jerry,

I see that you created a support ticket for this issue, I just wanted to post a reply here for any other users also who may come across your post.

Apart from the 403 error, it's important to look at any other messages in the output that may provide additional info on why the error occurs. If the output includes the message

Your credentials lack one or more required privilege scopes.

this means that the app password doesn't have the necessary permissions for the operation that is performed.

If the app password is used only for git clone, git pull and git push operations, then the permissions Repositories:Read and Repositories:Write are needed.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events