Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
jesseduffield
/
lazygit
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
3k
Star
81.1k
Code
Issues
854
Pull requests
170
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Add restore deleted branches and their upstreams
- #5887
#5887
Open
borngraced
wants to merge 10 commits into
jesseduffield:master
jesseduffield/lazygit:master
from
borngraced:restore-deleted-branch
borngraced/lazygit:restore-deleted-branch
Copy head branch name to clipboard
Conversation
Commits
10
(10)
Checks
Files changed
Open
Add restore deleted branches and their upstreams
#5887
borngraced
wants to merge 10 commits into
jesseduffield:master
jesseduffield/lazygit:master
from
borngraced:restore-deleted-branch
borngraced/lazygit:restore-deleted-branch
Copy head branch name to clipboard
Commits
Commits on Aug 3, 2026
add deleted branch model
borngraced
committed
59b9d7d
View commit details
Copy full SHA for 59b9d7d
Browse repository at this point
detect and restore deleted branches from reflog
borngraced
committed
93599a3
View commit details
Copy full SHA for 93599a3
Browse repository at this point
add restore branch menu to branches panel
borngraced
committed
7735300
View commit details
Copy full SHA for 7735300
Browse repository at this point
add restore branch keybinding and translations
borngraced
committed
72e7a80
View commit details
Copy full SHA for 72e7a80
Browse repository at this point
regenerate docs for restore branch
borngraced
committed
c271831
View commit details
Copy full SHA for c271831
Browse repository at this point
fix restore branch keybinding conflict and i18n
borngraced
committed
b04d4b4
View commit details
Copy full SHA for b04d4b4
Browse repository at this point
regenerate docs for keybinding change
borngraced
committed
a574183
View commit details
Copy full SHA for a574183
Browse repository at this point
harden deleted branch detection against reflog noise
borngraced
committed
7da8a04
View commit details
Copy full SHA for 7da8a04
Browse repository at this point
add integration test for restoring a deleted branch
borngraced
committed
a133dc0
View commit details
Copy full SHA for a133dc0
Browse repository at this point
add restore upstream branch menu item
Show description for e3cab97
borngraced
committed
e3cab97
View commit details
Copy full SHA for e3cab97
Browse repository at this point
You can’t perform that action at this time.