Lock Server Commit unlock Server 1.Unit Test Git Commit Fellows Detail operations for git 1.clone from server: your git dir# git clone ssh://repo@10.131.38.21/git/utest 2.create the working branch: your git dir# git branch <branch-name> origin/master your git dir# git checkout <branch-name> 3.some modification & commits to this local branch. Unit Test Git Commit Fellows & Cmdline Build Name: Abigale Yang Department: CN_SDD_SD1 2011/6/8 1.Unit Test Git Commit Fellows a. Git work flow; b. Detail operations for git; c. Check the pull; Pull tips; 2.Cmdline build a. Install Ant; b. Build project; 1.Unit Test Git Commit Fellows 4.Rebase your git dir# git fetch //synchronous with server your git dir# git rebase origin/master <your branch> 1.Unit Test Git Commit Fellows the targets id 2.Cmdline build your project# <your sdk path>/android-sdk-linux_86/tools/ android project -p . –t 1 the targets id 4.Compile to the .apk your project# ant debug your project# tree bin //see the tree of bin 1.Unit Test Git Commit Fellows 1.Unit Test Git Commit Fellows Git work flow Your work clone from server Admin’s work create work branch add & commit code review pull rebase //only for git Pull tips 3. Prepare fold for pull ln –s <local git> /git/utest 4. Java package rule Package name:com.compal.bsp.### 5. only check in source code 2.Cmdline build 2. Cmdline build Install Ant: 1.# apt-get install ant 2.Modify the ANT_PATH: ~#gedit ./profile add the path to the end of the file like this: check the pull The web url: http://10.131.38.21/cgi-bin/gitweb/gitweb.cgi Pull tips Pull tips wk.baidu.com 1. Git config #cat /root/.gitconfig [user] name=abigale email=abigale_yang@compal.com 2.Create the account for git pull. # adduser repo # chsh -s /usr/bin/git-shell repo install The end ! Thank you for your time! export ANT_HOME=/usr/share/ant export ANT_PATH=/usr/share/ant/bin 3.Restart your computer. 2.Cmdline build Build Project: : 1.Create your android project like before or use the existing project. 2.Export your java path. Delete the “bin” dir. #export PATH=<your path>/jdk1.6.0_22/bin:$PATH 3.Update project: your project# <your sdk path>/android-sdk-linux_86/tools/android list //to show the dalvik info, notice the id.