wei / git-sync

🔃 A GitHub Action for syncing between two independent repositories using force push
254 stars 124 forks source link

Sync folders #16

Closed yceballost closed 4 years ago

yceballost commented 4 years ago

Hi, I would like sync some of folders to avoid overwrite .gitignore or workflow folder in the remote repo.

Is it possible?

Thanks!

wei commented 4 years ago

It's not possible if you'd like to preserve git history. The only solution is writing a custom workflow to pull in the files you need, commit and push.