zoukankan      html  css  js  c++  java
  • 19.3.20 解决pycharm快捷键无法使用问题和熟悉git与码云操作流程

    problem:由于Vim插件导致快捷键无法使用;

    answer:settings→Plugins→搜索到ideaVim→取消选中→apply→重启pycharm;

    git:创建仓库→生成公钥(ssh-keygen -t rsa -C "962891994@qq.com")注:overWrite填n→查看公钥(cat ~/.ssh/id_rsa.pub)→将公钥复制到码云上→定义两个全局变量邮箱和名字(git config --global user.email "962891994@QQ.com" &  git config user.name "Django-shao")→初始化(git init)→复制码云上仓库地址并输入(git remote add origin git@gitee.com:Django-shao/studyUnittest.git)→拉取码云上的文件(git pull origin master)→上传(git add . )→添加注释说明(git commit -m "第一次上传测试")→提交(git push (第一次提交需要加 -u ) origin master)

    git删除远程上的文件(firstUnittest.py):先pull下远程上的文件(git pull origin master),保持本地与远程文件的一致,再删除文件(git rm -r  --cache firstUnittest.py),再注释说明此次操作(git commit -m "删除firstUnittest.py"),最后推送到远程(git push origin master);

    git pull时本地与远程冲突(提示already up to date!):git stash

  • 相关阅读:
    python+opencv实现图像自适应阈值的均衡化
    ubuntu添加新的分辨率选项(干货)
    python+opencv检测图像清晰度
    python根据列表创建文件夹,拷贝指定文件
    牛客多校Round 4
    牛客多校Round 3
    HDU多校Round 2
    HDU多校Round 1
    牛客多校Round 2
    牛客多校Round 1
  • 原文地址:https://www.cnblogs.com/Django-shao/p/10564130.html
Copyright © 2011-2022 走看看