Create local git repository based on local repository based on github repository and keep it updated

后端 未结 5 2849
悲&欢浪女
悲&欢浪女 2021-02-20 11:42

I have some basic git knowledge but I\'m not sure how to accomplish this.

I am trying to clone (?) github WordPress starter theme underscores. The idea is to create a ba

5条回答
  •  没有蜡笔的小新
    2021-02-20 12:26

    you could do something like
    git clone https://github.com/Automattic/_s.git
    create directory my_framework with mkdir my_framework(if on windows)
    cd my_framework
    git init
    git remote add <_s>
    git pull(to get latest version of underscore)
    again:
    mkdir my_theme1
    cd my_theme1
    git init
    git remote add
    git pull

    Hope this is what you are looking for!

提交回复
热议问题