Git and Github. How to reuse files for a repository

git macos github

39 观看


41 作者的声誉

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.

作者: Tessy 的来源 发布者: 2017 年 12 月 27 日

回应 1


9293 作者的声誉


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

Basically, you just need to do

git clone

(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).

作者: Pac0 发布者: 2017 年 12 月 27 日