# cf_revomanifest **Repository Path**: dlen/cf_manifest ## Basic Information - **Project Name**: cf_revomanifest - **Description**: clone android14 demo - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-01-12 - **Last Updated**: 2024-01-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # manifest - 配置 git 用户信息 ```shell git config --global user.name "yourname" git config --global user.email "your-email-address" git config --global credential.helper store ``` - 安装repo工具 ```shell curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 -o /usr/local/bin/repo chmod a+x /usr/local/bin/repo ``` - 通过repo + https下载 ```shell repo init -u https://gitee.com/asykaln/manifest.git -b master -m default.xml --no-repo-verify repo sync -c repo forall -c 'git lfs pull' repo status ## Usage: repo status [...] repo diff ## Usage: repo diff [...] repo list ## Usage: repo list [-f] [...] repo start master --all ## Usage: repo start [--all | ...] ; repo upload ## Usage: repo upload [--re --cc] []... repo manifest ## Usage: repo manifest [-o {-|NAME.xml}] [-m MANIFEST.xml] [-r] repo forall -c ' commitID=`git log --before "2021-11-11 02:00" -1 --pretty=format:"%H"`; git reset --hard $commitID ' ``` ```shell wget http://192.168.0.166:8080/tools/hooks/commit-msg; chmod 777 commit-msg gitdir=$(git rev-parse --git-dir) mv commit-msg $gitdir ``` - git url | | | | ------------------ | ------------------------------------------------------------ | | **anonymous http** | git clone http://192.168.0.166:8080/sprdroid13_vnd_main; | | | cd sprdroid13_vnd_main;
curl -kLo git rev-parse --git-dir/hooks/commit-msg http://192.168.0.166:8080/tools/hooks/commit-msg;
chmod +x git rev-parse --git-dir/hooks/commit-msg | | **http** | git clone http://caofeng@192.168.0.166:8080/sprdroid13_vnd_main | | | cd sprdroid13_vnd_main;
curl -kLo git rev-parse --git-dir/hooks/commit-msg http://caofeng@192.168.0.166:8080/tools/hooks/commit-msg;
chmod +x git rev-parse --git-dir/hooks/commit-msg; | | **ssh** | git clone ssh://caofeng@192.168.0.166:29418/sprdroid13_vnd_main | | | scp -p -P 29418 caofeng@192.168.0.166:hooks/commit-msg sprdroid13_vnd_main/.git/hooks/ | | | ![refs获取地址](./pic/refs.png) | | **DownLoad url** | `git fetch ssh://caofeng@192.168.0.166:29418/mocor_Android13 refs/changes/62/3262/2` | | | `git fetch http://caofeng@192.168.0.166:8080/a/mocor_Android13 refs/changes/62/3262/2` | | **Checkout** | `git checkout FETCH_HEAD` | | **Cherry Pick** | `git cherry-pick FETCH_HEAD` | | **Format Patch** | `git format-patch -1 --stdout FETCH_HEAD` | | | | | **Pull** | `git pull ssh://caofeng@192.168.0.166:29418/mocor_Android13 refs/changes/62/3262/2` | | | `git pull http://caofeng@192.168.0.166:8080/a/mocor_Android13 refs/changes/62/3262/2` |