I have create a Git repository on my local server where we will commit & push our changes through eclipse.Further, we have connected with this local server git repository with our remote git repository (Adobe cloud git repository). I can successfully commit and push changes from my local machine to local server git repository. Now my this local server repository stores data in pack files. Now before I push that local server branch(remote branch for my local machine) to our cloud git repository, we want to build that repository to make sure any code committed and push here is compiled and has no errors. How can I build that my bare git repository on local server ?
On your local server, git clone "remoteRepo"
and use that repository to build. You can also look into Continuous Integration tools like Jenkins to automate this process for you.