当前位置:网站首页>Using source tree to delete remote and local warehouses by mistake
Using source tree to delete remote and local warehouses by mistake
2022-06-09 10:33:00 【Mister procedural ape】
I owe you today , Accidentally deleted the newly developed branch , Along with the remote branch , A fluster ..., Thanks to Du Niang for letting me find a way , Here is a record of
1、 Open in the project root directory git Command line window
2、 Input git reflog
3、 Find the branch information to recover
4、 Find the latest one commit Information
5、 Ctrl+C Exit view mode
6、git checkout -b hotfix_ljz_20220530_cule 69ebcbd19
7、 Callback again sourcetree You can see that the branch has been restored
8、 If you need to recover to a remote branch , Then push to the remote end
Reference resources :http://t.zoukankan.com/boonya-p-14810113.html
Reference resources :https://blog.csdn.net/yanghui555/article/details/122218251
边栏推荐
- 华泰证券是安全的吗
- Other permission verification methods
- 【PHP】代码复用特殊类Trait的简要说明和相关举例
- 【光学】 基于matlab模拟光的双缝干涉附GUI
- 1108. IP 地址无效化
- 剑指 Offer 19. 正则表达式匹配-递归
- Interview question 04.02 Minimum height tree - depth first traversal, plus tree divide and conquer
- Today in history: PHP is publicly released; IPhone 4 comes out; The birth of the father of the World Wide Web
- Sword finger offer 19 Regular expression matching recursion
- 明道云上榜2022年中国信创行业办公软件排行榜
猜你喜欢

AppScan检查到的一些中高危漏洞解决方案

全球 77.5% 的网站,都在使用“世界上最好的语言” PHP!

Some instructions in dict intersect with the difference sum in set, and increase or decrease elements

C语言与Lua的交互(实践二)

Iscc2022 challenge arena Misc

Machine learning notes - explore the keras dataset

【模型部署与业务落地】AI 框架部署方案之模型转换

从SQL注入绕过最新安全狗WAF中学习fuzz

106. construct binary tree from middle order and post order traversal sequence

树莓派开发笔记(十五):树莓派4B+从源码编译安装mysql数据库
随机推荐
dict中的部分指令与set中的差和交集与增减元素
Terraform 学习总结(6)—— 基于阿里云平台上的 Terraform 实战
31. 下一个排列
【LeetCode】【牛客】二叉树刷题
使用source tree 误删远程以及本地仓库恢复办法
【水果识别】基于形态学实现水果识别含Matlab源码
Kubernetes第七篇:Pod进阶、Controller进阶、Resource和Dashboard
golang_3_结构体
不加班的测试开发工程师不是好程序员?可能不是一只笨鸟,但一直在先飞......
Unemployment wave? Yuancosmos opens up new employment opportunities
Unsupportedoperationexception exception resolution
Kubernetes Chapter 7: Advanced pod, advanced controller, resource and dashboard
Sword finger offer 18 Delete the node of the linked list
Blazor University (27) routing - detect navigation events
UnsupportedOperationException异常解决
刷脸认证如何实现人脸又快又准完成校验?
中信建投是安全的吗
Kubernets chapitre 7: POD Advanced, Controller Advanced, Resource and Dashboard
同花顺上面开户安全吗
AppScan检查到的一些中高危漏洞解决方案