Push 之后回退重新提交
Push 之后回退重新提交
git reset --soft b17a312d174e69639c49f9674c88e576dfa3f86e
git add .
git commint -m ""
git pull
git push origin mainline --force
添加远程仓库并push到相关分支
git@github.com:awslabs/data-transfer-hub.git
git remote add github git@github.com:awslabs/data-transfer-hub.git
git push github main:v2.0.0
git remote add gitlab git@ec2-52-83-185-193.cn-northwest-1.compute.amazonaws.com.cn:root/innovation-client.git
git push gitlab mainline:master
从PR拉取代码
git fetch origin pull/2/head
git checkout -b pullrequest FETCH_HEAD
History
yarn install --check-files --frozen-lockfile
145 git pull
146 clear
147 git pull
148 git checkout main
149 git pull
150 clear
151 git pull
152 git checkout ui-upgrade-npm-dependencies
153 git pull
154 git status
155 yarn install --check-files --frozen-lockfile
156 git status
157 npx projen
158 cd src/frontend/
159 clear
160 yarn --update-checksums
161 clear
162 cd ..
163 ll
164 cd ..
165 git status
166 git checkout .
167 git status
168 clear
169 git status
170 git pull
171 clear
172 yarn install --check-files --frozen-lockfile
173 clear
174 git status
175 npx projen
176 git status
177 git diff src/frontend/yarn.lock
178 clear
179 git add .
180 clear
181 git pull
182 clear
183 git checkout .
184 ll
185 git status
186 git revert src/frontend/yarn.lock
187 git pull origin ui-upgrade-npm-dependencies -force
188 git pull origin ui-upgrade-npm-dependencies --force
189 git checkout src/frontend/yarn.lock
190 git status
191 git reset HEAD
192 clear
193 git status
194 git checkout .
195 git pull
196 yarn install --check-files --frozen-lockfile
197 npx projen
198 clear
199 cd src/frontend/
200 ll
201 yarn --update-checksums
202 git status
203 git diff package.json
204 git status
205 git checkout .
206 yarn build
207 cd ..
208 git status
209 cd ..
210 yarn install --check-files --frozen-lockfile
211 git status
212 npx projen
213 git status
214 ll
215 cd realtime-fraud-detection-with-gnn-on-dgl/
216 ll
217 npx projen
218 git status
219 npx projen
220 git status