Coder Social home page Coder Social logo

gdbplugins's Introduction

GdbPlugins


subtree 描述 
gdbinit https://github.com/gdbinit/Gdbinit
gef https://github.com/hugsy/gef
peda https://github.com/longld/peda

本系统为gdbinit, gef, peda 等工具, 通过 git subtree 方式构建

使用git remote add 在A项目中添加子项目B的简称(可选)。

语法:git remote add -f <子仓库名> <子仓库地址>

解释:其中-f意思是在添加远程仓库之后,立即执行fetch

使用git subtree add 在A项目中首次添加目录引用。

语法:git subtree add --prefix=<子目录名> <子仓库名> <分支> --squash

解释:--squash意思是把subtree的改动合并成一次commit,这样就不用拉取子项目完整的历史记录。--prefix之后的=等号也可以用空格。

子项目B提交后,在A项目中使用git subtree pull拉取子项目B项目中的更新。

#1 gdbinit

添加

git remote  add -f gdbinit [email protected]:gdbinit/Gdbinit.git
git subtree add --prefix=gdbinit gdbinit master --squash

更新

git subtree pull --prefix=gdbinit [email protected]:gdbinit/Gdbinit.git master --squash

#2 gef

git remote  add -f gef [email protected]:hugsy/gef.git
git subtree add --prefix=gef gef master --squash

更新

git subtree pull --prefix=gef [email protected]:hugsy/gef.git master --squash

#3 peda

添加 

git remote  add -f peda [email protected]:longld/peda.git  
git subtree add --prefix=peda peda master -squash

更新

git subtree pull --prefix=peda [email protected]:longld/peda.git master --squash

gdbplugins's People

Contributors

gatieme 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.