Giter Club home page Giter Club logo

softwareengineer's People

Contributors

65772554 avatar chenxh97 avatar chenxhjeo avatar cyj862198490 avatar dudulu23 avatar feixucong avatar guruyun avatar hl56 avatar leexc avatar luqingxia avatar meiyingying avatar qimeiping avatar shaoyan233 avatar smh2274 avatar songyumin avatar sunyi2014283338 avatar tongzhzh avatar xtz9681 avatar yjnyjn avatar yonghengyas avatar yuansunlight avatar yuejiyu avatar zystrawberry avatar zzj01020304 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

softwareengineer's Issues

关于密码缓存问题

问题描述
实现单台计算机操作两个账号,会出现403报错。

问题原因
Git客户端缓存了错误的密码
git config --global该命令可以将用户名和密码长期全局地长期地存储在客户端(实际是客户端所在电脑,并非git的任何目录下,也就是说,即使重装git,改密码也存在。),注意是全局地。

解决方案
方法一:
增加远程地址的时候带上密码也是可以的。(推荐)
http://yourname:[email protected]/name/project.git
这种方式会把改账号和密码也添加到~/.git-credentials。

方法二:
运行命令:rm ~/.git-credentials,删掉git config --global credential.helper store保存的账号和密码。回到每次输入用户名和密码。
~/.git-credentials

关于bug分支问题

1.当我正在dev分支上进行任务的时候,突然说master上出现了一个bug,但你此时没完成任务,不想提交,那么如何才能做到既修改了这个bug,又能恢复现场后继续工作呢?那就是用git stash命令;
2.然后去修改这个bug,在master上创建一个临时分支,修改后在和主分支合并,接着删除临时分支;
3.修改好了之后不用担心原先的东西不见了,只要你输入 git stash apply,就能恢复现场的工作;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.