Tessy
Tessy

Reputation: 71

Git and Github. How to reuse files for a repository

I created a git folder on window and used it for my first commit to GitHub. I have now started using Mac. How do I go about editing my repository since I have the folder/readme file saved on windows. How do I recreate this on Mac.

Upvotes: 0

Views: 313

Answers (1)

Pac0
Pac0

Reputation: 23174

You have to clone your repository on your mac, with the link provided in github.

Basically, you just need to do

git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY

(though your connections need to be configured, or you will be prompted username and password)

Alternatively you can also use the GitHub app for Mac.


When you want to make some changes, you can commit them and push them on the github repo, and then pull the changes on your windows repo (or inverse).

Upvotes: 1

Related Questions