Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying local repositories? #54

Closed
trnc-ck opened this issue Sep 6, 2012 · 1 comment
Closed

Deploying local repositories? #54

trnc-ck opened this issue Sep 6, 2012 · 1 comment

Comments

@trnc-ck
Copy link

trnc-ck commented Sep 6, 2012

hi,

i can't find out how to deploy a local git repository. any advice how to do this? i actually don't want to clone, but take the current branch and upload it.

thanks!

@rstacruz
Copy link
Member

rstacruz commented Sep 6, 2012

Perhaps you can push your git repo to the server on a separate step? Eg:

$ git remote add server [email protected]:/var/git/project.git
$ git push server master

This pushes, via SSh, your git commits to the server's /var/git/project.git
(be sure to create that first with git init --bare /var/git/project.git).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants