Skip to content

Instantly share code, notes, and snippets.

View AdarshGrewal's full-sized avatar
😴

Adarsh Grewal AdarshGrewal

😴
View GitHub Profile
#!/bin/bash
read -p "Please input the tag/branch name: " branch
read -p "What do you want to do (import (i) or update (u)): " option
case $option in
import | i)
git subtree add --prefix=techpack/audio https://source.codeaurora.org/quic/la/platform/vendor/opensource/audio-kernel.git/ $branch
git subtree add --prefix=techpack/camera https://source.codeaurora.org/quic/la/platform/vendor/opensource/camera-kernel.git/ $branch
git subtree add --prefix=techpack/dataipa https://source.codeaurora.org/quic/la/platform/vendor/opensource/dataipa.git/ $branch
git subtree add --prefix=techpack/datarmnet https://source.codeaurora.org/quic/la/platform/vendor/qcom/opensource/datarmnet.git/ $branch