[Git] Create a new repository on the command line

本文介绍如何使用Git在GitHub上创建并初始化一个新的项目。包括编辑README.md文件、初始化Git仓库、添加文件、提交更改及推送至远程仓库等步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

echo "# xxx" >> README.md 
git init git add README.md 
git commit -m "first commit"
git remote add origin https://github.com/qslcna/xxx.git
git push -u origin master

 

转载于:https://www.cnblogs.com/qslcna/p/5582034.html

如何解决:(rknn2) test@rknn:~/fastDeploy/python$ python setup.py build fatal: not a git repository (or any of the parent directories): .git running build running build_py running create_version running cmake_build Decompress file /home/test/fastDeploy/python/.setuptools-cmake-build/patchelf-0.15.0-aarch64.tar.gz ... -- Use the default onnxruntime lib. The ONNXRuntime path: /home/test/fastDeploy/python/.setuptools-cmake-build/third_libs/install/onnxruntime CMake Warning (dev) in cmake/paddle_inference.cmake: A logical block opening on the line /home/test/fastDeploy/cmake/paddle_inference.cmake:71 (if) closes on the line /home/test/fastDeploy/cmake/paddle_inference.cmake:132 (endif) with mis-matching arguments. Call Stack (most recent call first): CMakeLists.txt:245 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at cmake/paddle_inference.cmake:96 (message): Paddle Backend doesn't support linux aarch64 now. Call Stack (most recent call first): CMakeLists.txt:245 (include) -- Configuring incomplete, errors occurred! See also "/home/test/fastDeploy/python/.setuptools-cmake-build/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): File "setup.py", line 465, in <module> license='Apache 2.0') File "/home/test/miniconda3/envs/rknn2/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/home/test/miniconda3/envs/rknn2/lib/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/home/test/miniconda3/envs/rknn2/lib/python3.6/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/home/test/miniconda3/envs/rknn2/lib/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/home/test/miniconda3/envs/rknn2/lib/python3.6/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/home/test/miniconda3/envs/rknn2/lib/python3.6/distuti
最新发布
03-26
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值