-
Notifications
You must be signed in to change notification settings - Fork 29
tips command
虫子樱桃 edited this page Dec 28, 2023
·
2 revisions
init
F:\cpp\vivaldi_plus> git submodule init
Submodule 'minhook' (https://github.com/czyt/minhook) registered for path 'minhook'
Submodule 'mini_gzip' (https://github.com/czyt/mini_gzip) registered for path 'mini_gzip'
update submodule
E:\cpp\vivaldi_plus>git submodule update
Submodule path 'minhook': checked out '49d03ad118cf7f6768c79a8f187e14b8f2a07f94'
E:\cpp\vivaldi_plus>git add minhook
E:\cpp\vivaldi_plus>git commit -m "update minhok"
On branch main
Your branch is up to date with 'origin/main'.
nothing to commit, working tree clean
E:\cpp\vivaldi_plus>git submodule update --recursive --remote --force
Submodule path 'minhook': checked out '0f25a2449b3cf878bcbdbf91b693c38149ecf029'
Submodule path 'mini_gzip': checked out '4f793ab92a61fad4b6b51f9de4c7ca5831a624f0'
E:\cpp\vivaldi_plus>git status
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: minhook (new commits)
no changes added to commit (use "git add" and/or "git commit -a")
E:\cpp\vivaldi_plus>git add minhook
E:\cpp\vivaldi_plus>git commit -m "update minhook"
[main b631741] update minhook
1 file changed, 1 insertion(+), 1 deletion(-)
E:\cpp\vivaldi_plus>git push
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 8 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 240 bytes | 240.00 KiB/s, done.
Total 2 (delta 1), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
remote: Bypassed rule violations for refs/heads/main:
remote:
remote: - Changes must be made through a pull request.
remote:
To github.com:czyt/vivaldi_plus.git
f4cf22a..b631741 main -> main