Skip to content

[libra] 为libra实现 stash命令 #874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Ivanbeethoven opened this issue Feb 24, 2025 · 0 comments
Open

[libra] 为libra实现 stash命令 #874

Ivanbeethoven opened this issue Feb 24, 2025 · 0 comments
Labels
libra pre-task R2CN 实习项目测试任务

Comments

@Ivanbeethoven
Copy link
Contributor

Ivanbeethoven commented Feb 24, 2025

[具体描述] libra实现stash命令
git stash 是 Git 版本控制系统中的一个非常实用的命令,用于在不提交当前工作区和暂存区修改的情况下,将这些修改临时保存(“贮藏”)起来。

[实现方案]
需了解libra中git对象的存储方式。通过构建临时stash专用存储保存临时修改。
可只实现单层存储,并支持一次的stashstash pop.
完成本任务可领取下一个携带积分任务,将stash命令完善至可以多次stash,并支持如下子命令:

  • stash lish
  • stash show
  • stash pop
@Ivanbeethoven Ivanbeethoven added libra pre-task R2CN 实习项目测试任务 labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libra pre-task R2CN 实习项目测试任务
Projects
None yet
Development

No branches or pull requests

1 participant