# Clone the application

**URL:** <https://discuss.bitrise.io/t/clone-the-application/4091>\
**Category:** Question & Answer\
**Tags:** android\
**Created:** [February 8, 2018, 2:16pm UTC](https://discuss.bitrise.io/t/clone-the-application/4091 "2018-02-08T14:16:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sathizmca](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@sathizmca](https://discuss.bitrise.io/u/sathizmca)\
**Post date:** [February 8, 2018, 2:16pm UTC](https://discuss.bitrise.io/t/clone-the-application/4091/1 "2018-02-08T14:16:41Z")

</div>

Dear,

I want to clone the application for SAAS. While cloning the application, i want to change the app icon, name and color schemes. So it is possible from BitRise.

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [February 8, 2018, 6:17pm UTC](https://discuss.bitrise.io/t/clone-the-application/4091/2 "2018-02-08T18:17:58Z")

</div>

Hi @sathizmca 👋

Sure, it’s definitely possible! I’d say it’s most likely easiest with a script:

1. write a script where you can pass the parameters and it changes the things you want
2. commit that script into your repository
3. then run that script from the [bitrise.io](http://bitrise.io) build, e.g. using the **Script** step and just `ruby ./path/to/script.rb` or similar.

If you’d have any questions just let us know! 🙂

---

<div class="post-metadata">

**Author:** ![sathizmca](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@sathizmca](https://discuss.bitrise.io/u/sathizmca)\
**Post date:** [February 9, 2018, 8:02am UTC](https://discuss.bitrise.io/t/clone-the-application/4091/3 "2018-02-09T08:02:55Z")

</div>

Can you suggest me an example of the script file and steps for that? I am new to bitrise

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [February 9, 2018, 7:20pm UTC](https://discuss.bitrise.io/t/clone-the-application/4091/4 "2018-02-09T19:20:15Z")

</div>

It’s not Bitrise related at all, you have to write that script, so that you can run it on your own Mac. Once you have that you can run that script on Bitrise 😉

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [February 9, 2018, 7:24pm UTC](https://discuss.bitrise.io/t/clone-the-application/4091/5 "2018-02-09T19:24:01Z")

</div>

The script’s content depends on what you want to do, what files you want to change to what other file, how you want to modify those files etc.

Usually a good way to get started with this is:

1. Do a clean git clone on your own Mac into a new directory
2. Make sure that `git status` prints `nothing to commit, working tree clean`
3. Then make the changes you want manually
4. Then you can use `git status` and `git diff` to see which files were changed
5. And automate those changes with a script, which you can run on your own Mac. I’d also suggest you to commit that script into the repository, so that you can run it anywhere, including on [Bitrise.io](http://Bitrise.io)

If you’d have any questions just let us know! 😉
