git log-- oneline-- all
then what"s the difference between git checkout and git reset?
found some information but didn"t understand it. I hope God can explain it in popular language. Tweet
git log-- oneline-- all
then what"s the difference between git checkout and git reset?
found some information but didn"t understand it. I hope God can explain it in popular language. Tweet
manipulate the file under git, which has three places to "store" the file
as long as you have modified the file, the file automatically appears in the workspace. When you have finished modifying it, use the git add filename
command, and the file is added to the temporary storage area. When you use the git commit-m 'modify remarks
command, the file (changes) is written from the staging area to the version library.
git add
command (which is still in the workspace ), you can use git checkout-- filename
to undo the changes to the file.
git add
command to add the file to the staging area , you do not want to change the file at this time. You need to use git reset HEAD filename
to move the file to the workspace, and then use git checkout-- filenmae
in the first step to undo the changes this is not clear in one sentence or two. Give you a link; https://github.com/geeeeeeeee.
checkout does not change the branch (ref)
the current problem is that you can only clean up by city, not search by district ...
A rookie at the front end has recently been looking at the proxyTable proxy interface in vue-cli, but I have a question, that is, the address of the proxy interface in the development environment is different from the formal interface address online. Do ...
In require.js, when you output window in the console, you can see that there are Vue instances, but the output window.Vue shows undifind . I mainly want to call vux s loading plug-in through the vue instance, but I can t get this instance to ask for h...
http: localhost:3000 getRencentJob json require( koa-router ): const router = require( koa-router )() const fs=require( fs ) const cors=require( koa-cors ) router.get( getRencentJob ,async (ctx, next)=>{ await cors(); ctx.body...