简体   繁体   中英

Sync local project folder from git

I've created a git repository where,my colleague are pushing codes for front-end section of application as contributors and I'm pushing codes backend section.

Is it possible to sync our project folders in our respective local machine from our combined repository from git ?

ie Get frontend codes in my local machine contributed by my colleagues and backend codes in their machine that has been pushed to repository by me.

Me and my colleague are new to git and know just basic stuffs only about git. It would be very thankful if anyone could guide us on this topic.

FYI: We are pushing into same branch.

There is some ways to do that, per example, you can use some orchestration tool like Ansible to automate the build of the project writing a custom pipeline that download both projects and sync it for you.

https://docs.ansible.com/ansible/latest/modules/git_module.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM