1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-10 22:42:00 +02:00

Add new command "Checkout previous branch"

This commit is contained in:
kyu08
2025-07-13 00:42:01 +09:00
committed by Stefan Haller
parent 7d92260050
commit 5b1292006d
5 changed files with 66 additions and 0 deletions

View File

@@ -139,6 +139,7 @@ type TranslationSet struct {
ForceCheckoutTooltip string
CheckoutByName string
CheckoutByNameTooltip string
CheckoutPreviousBranch string
RemoteBranchCheckoutTitle string
RemoteBranchCheckoutPrompt string
CheckoutTypeNewBranch string
@@ -1182,6 +1183,7 @@ func EnglishTranslationSet() *TranslationSet {
ForceCheckoutTooltip: "Force checkout selected branch. This will discard all local changes in your working directory before checking out the selected branch.",
CheckoutByName: "Checkout by name",
CheckoutByNameTooltip: "Checkout by name. In the input box you can enter '-' to switch to the last branch.",
CheckoutPreviousBranch: "Checkout previous branch",
RemoteBranchCheckoutTitle: "Checkout {{.branchName}}",
RemoteBranchCheckoutPrompt: "How would you like to check out this branch?",
CheckoutTypeNewBranch: "New local branch",