---
title: "Pushing code"
date: "2024-10-28T09:23:01+00:00"
summary: "Learn how to push code to Cloud Platform using git or acli push:artifact, depending on your workflow with vendor dependencies."
image:
type: "page"
url: "/acquia-cloud-platform/add-ons/cloud-ide/pushing-code"
id: "3384ae1f-da05-4aff-a969-5571644b48c1"
---

You cannot push your code to Cloud Platform by running `acli push:code`.

    ide:~/project (master) $ acli push:code
    Please use git to push code changes upstream.

To push your code, do one of the following depending on your workflow:

*   If your workflow involves committing vendor dependencies, run `git push`.
    
*   If your workflow does not involve committing vendor dependencies, run `acli push:artifact`.
    

For more information, see [Acquia CLI commands](/acquia-cloud-platform/add-ons/acquia-cli/commands/push:artifact).