miaojianyuwx@MIAOJIANYU /cygdrive/d/git_repos/id_1107/packages/apps/Hsae_Apps
$ cd SystemUI/
miaojianyuwx@MIAOJIANYU /cygdrive/d/git_repos/id_1107/packages/apps/Hsae_Apps/SystemUI
$ git branch -vva
? remotes/hsae/cn202sr? ? 998f1f2 [SystemUI] modify gps
? remotes/hsae/cn202sr-id b81e534 [systemui] 刪除用戶頭像和用戶信息,刪除語音圖標.
? remotes/hsae/master? ? 9cc158a Initial empty repository
? remotes/m/cn202sr-id? ? -> hsae/cn202sr-id
* (非分支)? ? ? ? ? ? ? b81e534 [systemui] 刪除用戶頭像和用戶信息檬嘀,刪除語音圖標.
miaojianyuwx@MIAOJIANYU /cygdrive/d/git_repos/id_1107/packages/apps/Hsae_Apps/SystemUI
$ git checkout -b cn202sr-id hsae/cn202sr-id
分支 'cn202sr-id' 設(shè)置為跟蹤來自 'hsae' 的遠程分支 'cn202sr-id'沈贝。
切換到一個新分支 'cn202sr-id'
miaojianyuwx@MIAOJIANYU /cygdrive/d/git_repos/id_1107/packages/apps/Hsae_Apps/SystemUI
$ git branch -vva
* cn202sr-id? ? ? ? ? ? ? b81e534 [hsae/cn202sr-id] [systemui] 刪除用戶頭像和用戶信息崎场,刪除語音圖標.
? remotes/hsae/cn202sr? ? 998f1f2 [SystemUI] modify gps
? remotes/hsae/cn202sr-id b81e534 [systemui] 刪除用戶頭像和用戶信息愈诚,刪除語音圖標.
? remotes/hsae/master? ? 9cc158a Initial empty repository
? remotes/m/cn202sr-id? ? -> hsae/cn202sr-id
miaojianyuwx@MIAOJIANYU /cygdrive/d/git_repos/id_1107/packages/apps/Hsae_Apps/SystemUI
$ git pull
remote: Counting objects: 3102, done
remote: Finding sources: 100% (22/22)
remote: Total 22 (delta 12), reused 21 (delta 12)
展開對象中: 100% (22/22), 完成.
來自 ssh://192.168.20.45:29418/Android/oreo/platform/packages/apps/Hsae_Apps/SystemUI
? b81e534..a42ae84? cn202sr-id -> hsae/cn202sr-id
更新 b81e534..a42ae84
Fast-forward
res/layout/system_statusbar_icon.xml? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? |? 4 +---
src/com/android/systemui/statusbar/phone/CollapsedStatusBarFragment.java | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
2 files changed, 73 insertions(+), 7 deletions(-)
miaojianyuwx@MIAOJIANYU /cygdrive/d/git_repos/id_1107/packages/apps/Hsae_Apps/SystemUI
$ git branch -vva
* cn202sr-id? ? ? ? ? ? ? a42ae84 [hsae/cn202sr-id] [SystemUI] display wifi icon
? remotes/hsae/cn202sr? ? 998f1f2 [SystemUI] modify gps
? remotes/hsae/cn202sr-id a42ae84 [SystemUI] display wifi icon
? remotes/hsae/master? ? 9cc158a Initial empty repository
? remotes/m/cn202sr-id? ? -> hsae/cn202sr-id
代碼提交:刪除分支
miaojianyuwx@MIAOJIANYU /cygdrive/d/hsae_app
$ ls
miaojianyuwx@MIAOJIANYU /cygdrive/d/hsae_app
$ rm -rf Launcher/
miaojianyuwx@MIAOJIANYU /cygdrive/d/hsae_app
$ git clone ssh://miaojianyuwx@192.168.20.45:29418/Android/oreo/platform/packages/apps/Hsae_Apps/Launcher
正克隆到 'Launcher'...
remote: Counting objects: 305, done
remote: Finding sources: 100% (90/90)
remote: Total 1150 (delta 17), reused 1109 (delta 17)
接收對象中: 100% (1150/1150), 3.32 MiB | 11.97 MiB/s, 完成.
處理 delta 中: 100% (471/471), 完成.
miaojianyuwx@MIAOJIANYU /cygdrive/d/hsae_app
$ cd Launcher/
miaojianyuwx@MIAOJIANYU /cygdrive/d/hsae_app/Launcher
$ git checkout -b cn202sr-id origin/cn202sr-id
分支 'cn202sr-id' 設(shè)置為跟蹤來自 'origin' 的遠程分支 'cn202sr-id'谨娜。
切換到一個新分支 'cn202sr-id'
miaojianyuwx@MIAOJIANYU /cygdrive/d/hsae_app/Launcher
$ git status
位于分支 cn202sr-id
您的分支與上游分支 'origin/cn202sr-id' 一致牧嫉。
尚未暫存以備提交的變更:
? (使用 "git add <文件>..." 更新要提交的內(nèi)容)
? (使用 "git checkout -- <文件>..." 丟棄工作區(qū)的改動)
? ? ? ? 修改:? ? src/com/hsae/cn202sr/launcher/LauncherActivity.java
miaojianyuwx@MIAOJIANYU /cygdrive/d/hsae_app/Launcher
$ git add .
miaojianyuwx@MIAOJIANYU /cygdrive/d/hsae_app/Launcher
$ git commit -m"2222"
[cn202sr-id 5c75763] 2222
1 file changed, 1 insertion(+), 1 deletion(-)
miaojianyuwx@MIAOJIANYU /cygdrive/d/hsae_app/Launcher
$ git log -p -1
commit 5c75763136bbf0aed0e65281544204bb281b2300 (HEAD -> cn202sr-id)
Author: miaojianyuwx <miaojy@cn8bit.com>
Date:? Fri Nov 9 09:39:29 2018 +0800
? ? 2222
? ? Change-Id: Ifd4dfbe26919e7ead4905d6d31f1fcab11864b98
diff --git a/src/com/hsae/cn202sr/launcher/LauncherActivity.java b/src/com/hsae/cn202sr/launcher/LauncherActivity.java
index 1157061..ede8ef5 100644
--- a/src/com/hsae/cn202sr/launcher/LauncherActivity.java
+++ b/src/com/hsae/cn202sr/launcher/LauncherActivity.java
@@ -1,5 +1,5 @@
package com.hsae.cn202sr.launcher;
-
+//fefe
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;