Code Push

【首先rebase】

copy changes

cat .git/config  

git reset --hard HEAD

git fetch /proj/repo01/product/swordfishrl/swdfs_release/platform/packages/apps/Mms.git swdfs_gb_dev:swdfs_gb_dev

git rebase swdfs_gb_dev

git rebase [-i | --interactive] [options] [--onto <newbase>]  <upstream> [<branch>]
git rebase [-i | --interactive] [options] –onto <newbase>  –root [<branch>]
git rebase –continue | –skip | –abort


【Note first】

CR: IKDINARATD-158

BranchName: IKDINARATD-158_yesya_13070107_SmartDialerLayout  

A white screen display when select cancel in SIM card contacts edit screen


【Commit】

git branch IKDINARATD-158_yesya_13070107_SmartDialerLayout

git checkout IKDINARATD-158_yesya_13070107_SmartDialerLayout

git status

git add +filenames

然后git commit:

注释是IKAROWANA-1080 A white screen display when select cancel in SIM card contacts edit screen(描述)

git commit –a –m “IKSF-7773:    Long SMS can not be displayed if some parts are not received”


 【Push】

cat .git/config  

git push /proj/repo01/product/swordfishrl/swdfs_release/platform/packages/apps/Mms.git  IKSF-7773_nwdb38_zch45_LongSMS:swdfs_gb_dev 


【Other Command】

//git show HEAD > IKAROWANA-601.patch

git format-patch > IKAROWANA-601.patch      +你需要比较的那个commit的ID,就会生成出当前和那次commit的diff

git-am 可以合并

git-diffs -webrev -b IKAROWANA-601_zch45_nwdb38_delete_all




【Push】

需要Beijing glocu371权限
1: pl
cd Arowana:  /product/arowana/release/dev-bare/frameworks/base.git 
./Push-br-remote.pl -p arowana -b IKAROWANA-4970_nwdb38_zch45_ChineseNameRecognize:motorola/packages/blur
./Push-br-remote.pl -p arowana -b IKAROWANA-8379_nwdb38_zch45_DialerLandscapePorting:motorola/cbs/china/packages/apps/Contacts/
2:或者 git push
git push ssh://zch68rep01.ap.mot.com/proj/repo01/product/arowana/release/dev-bare/motorola/cbs/china/packages/apps/Contacts.git IKAROWANA-1225_zch45_nwdb38_AcceleratorSlider


【After BR】
/proj/repo29/product/arowana/release/dev-bare:motorola/packages/blur:IKAROWANA-1797_zch45_nwdb38_SMSPickerSearch
【查看在Beijing服务器的状态】
ssh zch68lnxlog01
/proj/repo01/product/arowana/release/dev-bare/motorola/packages/blur.git      > git log
/proj/repo01/product/arowana/release/dev-bare/motorola/cbs/china/packages/apps/Contacts.git      


如果没有成功 先删除自己提交的内容 然后再rebase
先进入rebase目录cd /motorola/packages/blur
git pull --rebase ssh://zch68rep01.ap.mot.com/proj/repo01/product/arowana/release/dev-bare/motorola/packages/blur.git cm/arwn_trunk
git reset --hard HEAD
然后再提交
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要在 APP center 中配置 React Native Pushcode,需要按照以下步骤进行操作: 1. 在 APP center 中创建一个新项目,并将其与你的 GitHub 或 Bitbucket 仓库关联。 2. 在你的 React Native 项目中安装 App Center Push SDK。可以使用以下命令: ``` npm install appcenter-push --save ``` 3. 在项目中添加以下代码,以初始化 App Center Push SDK: ```javascript import AppCenterPush from 'appcenter-push'; componentDidMount() { AppCenterPush.setListener({ onPushNotificationReceived: function (pushNotification) { console.log('Push notification received:' + pushNotification.message); } }); AppCenterPush.getInitialNotification().then(notification => { console.log('Initial notification:' + notification); }); } ``` 4. 在 App Center 中创建推送通知。可以通过以下步骤完成: - 在 App Center 中单击“推送”选项卡。 - 点击“新建”按钮。 - 输入通知的标题和正文。 - 选择要接收通知的应用程序。 - 选择要接收通知的设备。 - 点击“发送”按钮。 5. 在应用中测试推送通知。可以使用以下命令向应用发送推送通知: ``` curl -X POST \ -H "Content-Type: application/json" \ -H "X-API-Token: YOUR_API_TOKEN" \ -d '{ "notification_content": { "name": "test notification", "title": "test notification title", "body": "test notification body" }, "notification_target": { "type": "devices_target", "devices": ["YOUR_DEVICE_ID"] } }' \ https://api.appcenter.ms/v0.1/apps/YOUR_ORGANIZATION/YOUR_APP/push/notifications ``` 这将向设备发送一条测试通知。在应用中接收到通知后,可以在控制台中查看通知的日志信息。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值