Pushing a local git repo to another online git repos (like github) -


i have repo on computer want push test environment online, on online server installed git, created repo , everything,

i can push repo , work, but.. can't find applications files, there git files in folder, need test environment working can push it.

nominally, right way in git push code stable location (e.g., github) , have online server "pull" location.

when push in git, git not update working tree, repository history. default, prevented pushing repository working directory (whose head matches branch pushing to).

however, possible configure git allow want. see http://toroid.org/ams/git-website-howto details on how configure external work-tree , post-receive-hook automatically update external work tree when push.

you might want use tool capistrano http://help.github.com/capistrano/ deploy.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -