Option to export changed files

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Option to export changed files

SmartGit mailing list
Hi,

Does SmartGit have an option to export changes between a feature
branch and say the master branch?

For examples:
Something like what the following command does, but then copies those
changed files to a new directory somewhere. This will make it very
easy to zip and deploy say to a web server.

   git diff --name-only -D featurebranch..master

Automatically zipping the output it like 'git archive' would also be
very useful.

Regards,
  Graeme




Reply | Threaded
Open this post in threaded view
|

Re: Option to export changed files

SmartGit mailing list
> For examples:
> Something like what the following command does, but then copies those
> changed files to a new directory somewhere. This will make it very
> easy to zip and deploy say to a web server.
>
>    git diff --name-only -D featurebranch..master
>
> Automatically zipping the output it like 'git archive' would also be
> very useful.

There is no such functionality, but with version 6.5 and its new external commit tools you should be able to compose some script what will do what you are looking for. Have a look at e.g.:

http://stackoverflow.com/q/4541300

--
Best regards,
Marc Strapetz
syntevo GmbH
http://www.syntevo.com
http://blog.syntevo.com



12/02/2014 15:40 - Graeme Geldenhuys [hidden email] [smartgit] wrote:

> Hi,
>
> Does SmartGit have an option to export changes between a feature
> branch and say the master branch?
>
> For examples:
> Something like what the following command does, but then copies those
> changed files to a new directory somewhere. This will make it very
> easy to zip and deploy say to a web server.
>
>    git diff --name-only -D featurebranch..master
>
> Automatically zipping the output it like 'git archive' would also be
> very useful.
>
> Regards,
>   Graeme
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Option to export changed files

SmartGit mailing list
On 2014-12-02 15:11, syntevo Support [hidden email] [smartgit] wrote:
> Have a look at e.g.:
>
> http://stackoverflow.com/q/4541300


Brilliant!  Many thanks for the link.


Regards,
  - Graeme -

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/