One, git
Git reset--soft < version number > fallback commit to commit code
Git format-patch-1 < version number > generate a single patch
gitformat-patch< version number > Generate multiple patches after a version (not including itself)
git am patch/*.patch hit patch
"Git commit--amend--reset-author"
git log--name-only Displays the commit message while displaying the modified file
git branch-a View Remote branch
Git checkout-b * * * Switch Remote BRANCH
Git checkout-b * * * Caf/pmc_***_dev switch branches
Second, repo
Repo sync + git bin path download only one git warehouse code
(Git bin path can refer to. Repo under the Manifest.xml file)
Third, SVN
SVN update svn updates file: Execute command under/home/user/svn/rm181/tsjp/
SVN upload file steps:
SVN status
SVN Add file name
SVN commit-m "description" file name
Iv. ADB
ADB logcat-v time >/home/user/desktop/log_2018.2.25_1107.txt output log file
ADB installxxx.apk computer to install APK package for mobile phone
V. Other COMMON commands
Find-name "Files" to find files
Free to view memory usage
Apt-get Install Multimail installation software Multimail
Apt-get Remove Multimail Uninstall software Multimail
"Linux" git, repo, svn, ADB, and other common commands