qt 使用git版本管理工具(ubuntu)

  • 在本地安装、配置、创建公钥并上传公钥(具体过程见另一篇博客
  • 通过网页在Github中新建一个Repository仓库,并获取其clone地址,如https://github.com/xxx/xxx.git
  • 新建qt工程,在版本控制中选择Git
    这里写图片描述
  • 进入工程目录
$ git init #ls -al 可见.git文件
$ git remote add origin https://github.com/xxx/xxx.git
$ git push -u orgin master #完成第一次推送

猜你喜欢

转载自blog.csdn.net/robothj/article/details/80457980