command line – Gihub on Mac using oath2

Spread the love


After a pause of 2 years from macOS I bought a new laptop to find this problem:

I cannot pull/push to my repositories using a user/password. The new approach is through oath2. At this point, I am able to push/pull from my own repositories but I cannot do that for the parent of a forked repo or pull from my own organization. The new approach is:

git clone https://<token>@github.com/owner/repo.git

My question is: how to apply this approach to pull from a repo that I have in my organization or a parent repo?

Author: Dhanraj7978

Leave a Reply

Your email address will not be published. Required fields are marked *