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

Add a git-setup command #431

merged 4 commits into from Jul 2, 2019


None yet
2 participants
Copy link

commented Jul 2, 2019

Here is the commands added:

╰─$ cli --region osc-fr1 --app test-java-buildpack git-show
-----> Your application test-java-buildpack Git remote is: ssh://


╰─$ git remote -v                                                                            
origin (fetch)
origin (push)
╰─$ cli --region osc-fr1 --app test-java-buildpack git-setup --remote toto 
-----> Successfully added the Git remote toto on test-java-buildpack
╰─$ git remote -v
origin (fetch)
origin (push)
toto    ssh:// (fetch)
toto    ssh:// (push)

If run from a directory with no Git initialized:

╰─$ ./cli/cli --region osc-fr1 --app test-java-buildpack git-setup --remote toto
 !     An error occured:
       fail to initialize the Git repository: repository does not exist

Fix #430

EtienneM added some commits Jul 2, 2019

@EtienneM EtienneM requested a review from johnsudaar Jul 2, 2019

@EtienneM EtienneM marked this pull request as ready for review Jul 2, 2019

@EtienneM EtienneM added the reviewable label Jul 2, 2019

Copy link

left a comment


@johnsudaar johnsudaar merged commit c358575 into master Jul 2, 2019

@EtienneM EtienneM deleted the fix/430/git_setup branch Jul 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.