What is different between get-app and git clone for getting app from github?

What is the difference between get-app and git clone for getting an app from GitHub?

i got app from GitHub using get-app but i was not able to change the branch

can i use git clone insert of get-app?

1 Like

Hi @nelson_d:

Use

bench get-app yourapp --branch yourbranch to install app from specific branch

or

bench switch-to-branch yourbranch yourapp1 yourapp2 yourapp3 to change it after app is installed.

Essentially get-app uses git clone command, but it will check dependencies and some versions compatibility, etc …

Hope this helps.

1 Like