# .net_halcon **Repository Path**: xyz-183/nethalcon ## Basic Information - **Project Name**: .net_halcon - **Description**: c#联合halcon代码大全 - **Primary Language**: C# - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-07 - **Last Updated**: 2025-07-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README git push -u origin02 dev_opencv_0705 git init 初始化本地库 git commit -m "first commit: dayintou - tou1.hdev" 提交更改(Commit) git log --oneline 查看提交历史: 分支常用命令: git branch -v 查看分支 git remote show origin 查看远程仓库信息 git checkout -b halcon -b 表示创建新分支 git push -u origin halcon 获取所有远程分支 git fetch origin 重新检查远程分支 git branch -r 如果分支确实存在,再次尝试切换 git checkout -b opencv_dayintou origin/opencv_dayintou 确认当前分支 git branch 添加更改到暂存区 git add . 提交更改 git commit -m "交接" 推送远程 git push -u origin opencv_dayintou 如果分支不存在,需先创建: 从当前分支创建新本地分支 git checkout -b opencv_dayintou 推送并建立远程跟踪 git push -u origin opencv_dayintou 查看当前远程仓库地址: git remote -v 空白输出 = 没有设置 origin 或其他远程地址 git remote add origin http://192.168.3.66/vision/nozzleidentify 执行添加命令 origin 是远程仓库的默认别名(可自定义,如 gitlab) 认证方式: HTTPS 方式:输入用户名 + 密码(GitHub 需用 Token 替代密码) SSH 方式:确保已 配置SSH Key 并添加到Git账户 # 设置SSH远程地址 git remote set-url origin git@192.168.3.66:vision/nozzleidentify.git git remote -v 验证是否修改成功 ssh -T git@192.168.3.66 测试SSH连接 码云