Lines Matching full:git

3 # Merging repository to google-cloud-java using git-filter-repo.
4 # https://stackoverflow.com/questions/1425892/how-do-you-merge-two-git-repositories
16 # git checkout -b merge_repositories
21 [ -z "`git config user.email`" ] && git config --global user.email "${USERNAME:-script}@google.com"
22 [ -z "`git config user.name`" ] && git config --global user.name "${USERNAME:-script}"
34 git clone https://github.com/newren/git-filter-repo.git
35 export PATH=$PATH:`pwd`/git-filter-repo
38 git clone https://github.com/googleapis/google-cloud-java "${merged_repository}"
45 git clone https://github.com/googleapis/${service}.git
47 git filter-repo --to-subdirectory-filter ${service}
65 git add .
66 git config --add secrets.allowed "dest.*src"
67 git commit -am "chore: setup owlbot configuration"
71 git remote add ${service} ../${service}
72 git config --add secrets.allowed "dest.*src"
73 git fetch ${service} #--tags
74 EDITOR=true git merge --quiet --allow-unrelated-histories ${service}/main
75 git remote remove ${service}
85 git add --all
86 git commit -m 'chore: add template files'
90 git add pom.xml
91 git commit -am 'chore: create aggregator pom' --allow-empty
96 git add --all
97 git commit -am 'chore: point modules to the aggregator pom as parent' \
102 git add --all
103 git commit -am 'chore: consolidate config to parent' \
111 git add gapic-libraries-bom/pom.xml
112 git commit -am 'chore: create gapic-libraries-bom' \
119 git add --all
120 git commit -am 'chore: delete non-auto-generated samples' \
127 git add --all
128 git commit -am 'chore: update versions to latest in maven' \
133 git add --all
134 git commit -am 'chore: remove and disable owlbot postprocessor templates' \
139 git commit -am 'chore: set owlbot copy config' --allow-empty
144 rm -rf split/.git
145 git clone -b main --single-branch https://github.com/googleapis/google-cloud-java.git shadow
146 cp -R shadow/.git split/.git
151 git add "*/src/main/*" || true
152 git commit -m 'split repo - diff src/main' --allow-empty
154 git add "*/src/test/*" || true
155 git commit -m 'split repo - diff src/test' --allow-empty
157 git add "*/samples/*" || true
158 git commit -m 'split repo - diff samples' --allow-empty
160 git add "**/pom.xml" || true
161 git commit -m 'split repo - diff pom.xml' --allow-empty
163 git add "**/CHANGELOG.md" || true
164 git commit -m 'split repo - diff CHANGELOG.md' --allow-empty
166 git add "**/README.md" || true
167 git commit -m 'split repo - diff README.md' --allow-empty
169 git add "**/.OwlBot.yaml" || true
170 git commit -m 'split repo - diff .OwlBot.yaml' --allow-empty
172 git add "**/versions.txt" || true
173 git commit -m 'split repo - diff versions.txt' --allow-empty
175 git add --all || true
176 git commit -am 'split repo - diff everything else' --allow-empty