❯ git st On branch rocksdb Your branch is up to date with 'origin/rocksdb'.
Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory)
modified: third-party/rocksdb (new commits)
Submodules changed but not updated:
* third-party/rocksdb b168576...ec67e87 (1): > [ADD] install-static some change
Untracked files: (use "git add <file>..." to include in what will be committed)
compile_commands.json
no changes added to commit (use "git add" and/or "git commit -a") ❯ git add -u ❯ git st On branch rocksdb Your branch is up to date with 'origin/rocksdb'.
Changes to be committed: (use "git reset HEAD <file>..." to unstage)
modified: third-party/rocksdb
Submodule changes to be committed:
* third-party/rocksdb b168576...ec67e87 (1): > [ADD] install-static some change
Untracked files: (use "git add <file>..." to include in what will be committed)
compile_commands.json
❯ git cm -m "[ADD] rocksdb_install-static some change" [rocksdb 221e94058] [ADD] rocksdb_install-static some change 1 file changed, 1 insertion(+), 1 deletion(-) ❯ git st On branch rocksdb Your branch is ahead of 'origin/rocksdb' by 1 commit. (use "git push" to publish your local commits)
Untracked files: (use "git add <file>..." to include in what will be committed)
compile_commands.json
nothing added to commit but untracked files present (use "git add" to track) ❯ git push Counting objects: 3, done. Delta compression using up to 6 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 422 bytes | 422.00 KiB/s, done. Total 3 (delta 2), reused 0 (delta 0) remote: remote: To create a merge request for rocksdb, visit: remote: https://gitlab.XXX.xxx/XXX/XXX/-/merge_requests/new?merge_request%5Bsource_branch%5D=rocksdb remote: To gitlab.XXX.xyz:XXX/xxx.git 5a795e575..221e94058 rocksdb -> rocksdb