---
title: "You can't add/del workspace by yourself, use platform please"
author: "lionbule"
date: "2013-12-01T12:21:07Z"
tags: ["Git", "baidu"]
categories: ["移动开发"]
slug: "you-can-t-add-del-workspace-by-yourself-use-platform-please"
draft: false
lastmod: "2013-12-01T12:49:04Z"
id: 1983420
url: "https://lionbule.iteye.com/blog/1983420"
---

问题描述：

执行#git push origin master

Writing objects: 100% (3/3), 204 bytes | 0 bytes/s, done.

Total 3 (delta 0), reused 0 (delta 0)

remote: Error: You can't add/del workspace by yourself, use platform please.To https://git.duapp.com

/appidxxxxxx/

 ! \[remote rejected] master -&gt; master (pre-receive hook declined)

 

error: failed to push some refs to 'https://git.duapp.com/appidxxxxxx/'

 

分析：

该问题是百度应用创建的流程引起的。

 

解决办法：

S1、 在管理中心 我的应用-xxx-版本管理  创建新版本

S2、  该应用下增加一个版本，然后运行git pull 会出现一个新的版本号的文件夹

S3、  然后执行 git push origin master