From: Carlo Trimarchi <mr.spoon21@gmail.com>
To: git@vger.kernel.org
Subject: repository in different directories
Date: Mon, 11 Jul 2011 14:44:02 +0200 [thread overview]
Message-ID: <CABU6SG5uLXAsu0yXa1cmPAmte3WnsjaHN0r_D4c8C7W2tKJDHw@mail.gmail.com> (raw)
Hi,
I'm using git to build a website using the Codeigniter php framework.
I work on my local machine and then push to a remote server. The whole
website would be divided in different directories. I have the webroot
in /home/carlo/public_html/ directory. Here I have an index.php, the
css files and images. Then, outside this directory, I have the
application folder with all the real php stuff. Suppose it is in
/home/carlo/ci/application.
I have the same configuration on the server. So, the workflow would be
that I work on my local machine, I change something in the application
folder, then something in some css file and then I have to sync
everything with the server. I can have two repositories, one for the
folder in the webroot and another one for the application folder, but
then I'd have to push twice. Is there a better or a good way to do all
this?
Thanks,
Carlo
next reply other threads:[~2011-07-11 12:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-11 12:44 Carlo Trimarchi [this message]
2011-07-11 13:44 ` repository in different directories Steve Muadib
[not found] ` <CACwv2A=d44+txUGGDxJRFHVps-eT5g_mWyA-WaKTXyyUFgix7g@mail.gmail.com>
2011-07-11 14:07 ` Carlo Trimarchi
2011-07-12 19:29 ` Holding, Lawrence
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CABU6SG5uLXAsu0yXa1cmPAmte3WnsjaHN0r_D4c8C7W2tKJDHw@mail.gmail.com \
--to=mr.spoon21@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).