Coder Social home page Coder Social logo

gittest's Introduction

git practise

git log : 用图形线的样子表现: git log --oneline --graph --abbrev-commit

git reset --hard HEAD^ : 代表回退到上一个版本 HEAD 表示当前版本,HEAD^表示上一个版本,HEAD^^表示上2个版本,上100个版本HEAD~100

git remote add origin [email protected]:feraner/gitTest.git :在本地的仓库添加远程仓库

git stash :将工作区的文件暂时存放起来,不提交

git stash pop : 将之前存放的文件取出来,继续工作

git stash drop: 丢弃存放的工作记录,不要了

git reflog : 查看所用到的操作历史

git fetch origin 远程分支:本地分支 拉取远程分支到本地分支

gittest's People

Contributors

feraner avatar wolfxi avatar

Watchers

 avatar

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.