fairlee@vivobook:~/CLionProjects/SDL_SLAM$ git init
提示:使用 'master' 作为初始分支的名称。这个默认分支名称可能会更改。要在新仓库中
提示:配置使用初始分支名,并消除这条警告,请执行:
提示:
提示: git config --global init.defaultBranch <名称>
提示:
提示:除了 'master' 之外,通常选定的名字有 'main'、'trunk' 和 'development'。
提示:可以通过以下命令重命名刚创建的分支:
提示:
提示: git branch -m <name>
已初始化空的 Git 仓库于 /home/fairlee/CLionProjects/SDL_SLAM/.git/
fairlee@vivobook:~/CLionProjects/SDL_SLAM$ git status
位于分支 master
尚无提交
未跟踪的文件:
(使用 "git add <文件>..." 以包含要提交的内容)
.idea/
CMakeLists.txt
SDL_SLAM.cpp
cmake-build-debug/
include/
src/
提交为空,但是存在尚未跟踪的文件(使用 "git add" 建立跟踪)
fairlee@vivobook:~/CLionProjects/SDL_SLAM$ git add .
fairlee@vivobook:~/CLionProjects/SDL_SLAM$ git status
位于分支 master
尚无提交
要提交的变更:
(使用 "git rm --cached <文件>..." 以取消暂存)
新文件: .idea/.gitignore
新文件: .idea/SDL_SLAM.iml
新文件: .idea/misc.xml
新文件: .idea/modules.xml
新文件: .idea/vcs.xml
新文件: CMakeLists.txt
新文件: SDL_SLAM.cpp
新文件: cmake-build-debug/.cmake/api/v1/query/cache-v2
新文件: cmake-build-debug/.cmake/api/v1/query/cmakeFiles-v1
新文件: cmake-build-debug/.cmake/api/v1/query/codemodel-v2
新文件: cmake-build-debug/.cmake/api/v1/query/toolchains-v1
新文件: cmake-build-debug/.cmake/api/v1/reply/cache-v2-0b71458cdc20b8697a48.json
新文件: cmake-build-debug/.cmake/api/v1/reply/cmakeFiles-v1-fcceacdd5ac0e2d6141b.json
新文件: cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-a8e4f5b63b094d6b80ef.json
新文件: cmake-build-debug/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json
新文件: cmake-build-debug/.cmake/api/v1/reply/index-2023-10-09T09-52-12-0760.json
新文件: cmake-build-debug/.cmake/api/v1/reply/target-SDL_SLAM-Debug-7056e3e96e3c5ace0a23.json
新文件: cmake-build-debug/.cmake/api/v1/reply/toolchains-v1-076db8aff123804178fa.json
新文件: cmake-build-debug/CMakeCache.txt
新文件: cmake-build-debug/CMakeFiles/3.26.4/CMakeCCompiler.cmake
新文件: cmake-build-debug/CMakeFiles/3.26.4/CMakeCXXCompiler.cmake
新文件: cmake-build-debug/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_C.bin
新文件: cmake-build-debug/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_CXX.bin
新文件: cmake-build-debug/CMakeFiles/3.26.4/CMakeSystem.cmake
新文件: cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.c
新文件: cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/a.out
新文件: cmake-build-debug/CMakeFiles/3.26.4/CompilerIdCXX/CMakeCXXCompilerId.cpp
新文件: cmake-build-debug/CMakeFiles/3.26.4/CompilerIdCXX/a.out
新文件: cmake-build-debug/CMakeFiles/CMakeConfigureLog.yaml
新文件: cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake
新文件: cmake-build-debug/CMakeFiles/Makefile.cmake
新文件: cmake-build-debug/CMakeFiles/Makefile2
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/DependInfo.cmake
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/SDL_SLAM.cpp.o
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/SDL_SLAM.cpp.o.d
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/build.make
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/cmake_clean.cmake
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/compiler_depend.internal
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/compiler_depend.make
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/compiler_depend.ts
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/depend.make
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/flags.make
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/link.txt
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/progress.make
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/src/1_Input/robustLandmark.cpp.o
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/src/1_Input/robustLandmark.cpp.o.d
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/src/1_Input/test.cpp.o
新文件: cmake-build-debug/CMakeFiles/SDL_SLAM.dir/src/1_Input/test.cpp.o.d
新文件: cmake-build-debug/CMakeFiles/TargetDirectories.txt
新文件: cmake-build-debug/CMakeFiles/clion-Debug-log.txt
新文件: cmake-build-debug/CMakeFiles/clion-environment.txt
新文件: cmake-build-debug/CMakeFiles/cmake.check_cache
新文件: cmake-build-debug/CMakeFiles/progress.marks
新文件: cmake-build-debug/Makefile
新文件: cmake-build-debug/SDL_SLAM
新文件: cmake-build-debug/SDL_SLAM.cbp
新文件: cmake-build-debug/Testing/Temporary/LastTest.log
新文件: cmake-build-debug/cmake_install.cmake
新文件: include/1_Input/robustLandmark.h
新文件: include/1_Input/test.h
新文件: src/1_Input/robustLandmark.cpp
新文件: src/1_Input/test.cpp
fairlee@vivobook:~/CLionProjects/SDL_SLAM$ git commit -m "v1"
[master(根提交) bb79e77] v1
62 files changed, 24408 insertions(+)
create mode 100644 .idea/.gitignore
create mode 100644 .idea/SDL_SLAM.iml
create mode 100644 .idea/misc.xml
create mode 100644 .idea/modules.xml
create mode 100644 .idea/vcs.xml
create mode 100644 CMakeLists.txt
create mode 100644 SDL_SLAM.cpp
create mode 100644 cmake-build-debug/.cmake/api/v1/query/cache-v2
create mode 100644 cmake-build-debug/.cmake/api/v1/query/cmakeFiles-v1
create mode 100644 cmake-build-debug/.cmake/api/v1/query/codemodel-v2
create mode 100644 cmake-build-debug/.cmake/api/v1/query/toolchains-v1
create mode 100644 cmake-build-debug/.cmake/api/v1/reply/cache-v2-0b71458cdc20b8697a48.json
create mode 100644 cmake-build-debug/.cmake/api/v1/reply/cmakeFiles-v1-fcceacdd5ac0e2d6141b.json
create mode 100644 cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-a8e4f5b63b094d6b80ef.json
create mode 100644 cmake-build-debug/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json
create mode 100644 cmake-build-debug/.cmake/api/v1/reply/index-2023-10-09T09-52-12-0760.json
create mode 100644 cmake-build-debug/.cmake/api/v1/reply/target-SDL_SLAM-Debug-7056e3e96e3c5ace0a23.json
create mode 100644 cmake-build-debug/.cmake/api/v1/reply/toolchains-v1-076db8aff123804178fa.json
create mode 100644 cmake-build-debug/CMakeCache.txt
create mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CMakeCCompiler.cmake
create mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CMakeCXXCompiler.cmake
create mode 100755 cmake-build-debug/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_C.bin
create mode 100755 cmake-build-debug/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_CXX.bin
create mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CMakeSystem.cmake
create mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.c
create mode 100755 cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/a.out
create mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CompilerIdCXX/CMakeCXXCompilerId.cpp
create mode 100755 cmake-build-debug/CMakeFiles/3.26.4/CompilerIdCXX/a.out
create mode 100644 cmake-build-debug/CMakeFiles/CMakeConfigureLog.yaml
create mode 100644 cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake
create mode 100644 cmake-build-debug/CMakeFiles/Makefile.cmake
create mode 100644 cmake-build-debug/CMakeFiles/Makefile2
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/DependInfo.cmake
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/SDL_SLAM.cpp.o
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/SDL_SLAM.cpp.o.d
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/build.make
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/cmake_clean.cmake
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/compiler_depend.internal
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/compiler_depend.make
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/compiler_depend.ts
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/depend.make
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/flags.make
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/link.txt
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/progress.make
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/src/1_Input/robustLandmark.cpp.o
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/src/1_Input/robustLandmark.cpp.o.d
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/src/1_Input/test.cpp.o
create mode 100644 cmake-build-debug/CMakeFiles/SDL_SLAM.dir/src/1_Input/test.cpp.o.d
create mode 100644 cmake-build-debug/CMakeFiles/TargetDirectories.txt
create mode 100644 cmake-build-debug/CMakeFiles/clion-Debug-log.txt
create mode 100644 cmake-build-debug/CMakeFiles/clion-environment.txt
create mode 100644 cmake-build-debug/CMakeFiles/cmake.check_cache
create mode 100644 cmake-build-debug/CMakeFiles/progress.marks
create mode 100644 cmake-build-debug/Makefile
create mode 100755 cmake-build-debug/SDL_SLAM
create mode 100644 cmake-build-debug/SDL_SLAM.cbp
create mode 100644 cmake-build-debug/Testing/Temporary/LastTest.log
create mode 100644 cmake-build-debug/cmake_install.cmake
create mode 100644 include/1_Input/robustLandmark.h
create mode 100644 include/1_Input/test.h
create mode 100644 src/1_Input/robustLandmark.cpp
create mode 100644 src/1_Input/test.cpp
fairlee@vivobook:~/CLionProjects/SDL_SLAM$ git log
commit bb79e77a0ba36ea632a00a54c7acbca2b16bb6cb (HEAD -> master)
Author: fairlee <2235269800@qq.com>
Date: Tue Oct 10 11:19:00 2023 +0800
v1
fairlee@vivobook:~/CLionProjects/SDL_SLAM$ git status
位于分支 master
尚未暂存以备提交的变更:
(使用 "git add <文件>..." 更新要提交的内容)
(使用 "git restore <文件>..." 丢弃工作区的改动)
修改: SDL_SLAM.cpp
修改尚未加入提交(使用 "git add" 和/或 "git commit -a")
fairlee@vivobook:~/CLionProjects/SDL_SLAM$ git add -u
fairlee@vivobook:~/CLionProjects/SDL_SLAM$ git status
位于分支 master
要提交的变更:
(使用 "git restore --staged <文件>..." 以取消暂存)
修改: SDL_SLAM.cpp
fairlee@vivobook:~/CLionProjects/SDL_SLAM$ git commit -m "v2"
[master 6b32670] v2
1 file changed, 2 insertions(+), 1 deletion(-)
fairlee@vivobook:~/CLionProjects/SDL_SLAM$ git log
commit 6b3267077c57a15a979193d42ac0097a9b8b8dcc (HEAD -> master)
Author: fairlee <2235269800@qq.com>
Date: Tue Oct 10 11:20:52 2023 +0800
v2
commit bb79e77a0ba36ea632a00a54c7acbca2b16bb6cb
Author: fairlee <2235269800@qq.com>
Date: Tue Oct 10 11:19:00 2023 +0800
v1
fairlee@vivobook:~/CLionProjects/SDL_SLAM$