diff --git a/levels/changing-the-past/rebase b/levels/changing-the-past/rebase index 812737c..6ed89a8 100644 --- a/levels/changing-the-past/rebase +++ b/levels/changing-the-past/rebase @@ -37,7 +37,7 @@ You do not have a donut." > you git add . git commit -m "You eat the baguette" -git checkout -b coffee +git checkout -b coffee main echo "You do not have a baguette. You have coffee. diff --git a/levels/stash/stash-branch b/levels/stash/stash-branch index fa3f9fc..16c9eae 100644 --- a/levels/stash/stash-branch +++ b/levels/stash/stash-branch @@ -4,13 +4,11 @@ cards = checkout commit-auto merge reset-hard [description] If you want to keep your changes but they don't belong to the main branch, you can easily -create a new branch from your stashed shanges. Just use +create a new branch from your stashed changes. Just use git stash branch If you just want to use the latest stash entry, you can leave the option empty. Create a new branch from the stashed changes! - -Clear you stash stack! --- tipp1 @@ -38,7 +36,7 @@ git checkout main [win] -# Did you clear your stash stack? +# Did you create a new branch from the stashed changes? test "$(git branch --list| wc -l)" -ge 2 [actions] @@ -47,4 +45,4 @@ test "$(git branch --list| wc -l)" -ge 2 [congrats] -All clear! :) +Stashed changes are in a new branch! :) diff --git a/levels/stash/stash-merge b/levels/stash/stash-merge index b11fed5..a8c9ac1 100644 --- a/levels/stash/stash-merge +++ b/levels/stash/stash-merge @@ -35,6 +35,7 @@ git stash push echo "- Pinch of Salt" >> recipe git checkout main +git add recipe [win] diff --git a/scenes/helpers.gd b/scenes/helpers.gd index 28887f1..5e5cebc 100644 --- a/scenes/helpers.gd +++ b/scenes/helpers.gd @@ -96,6 +96,9 @@ func careful_delete(path_inside): expected_prefix = "/Users/%s/Library/Application Support/Oh My Git/tmp/" % OS.get_environment("USER") elif os == "Windows": expected_prefix = "C:/Users/%s/AppData/Roaming/Oh My Git/tmp/" % OS.get_environment("USERNAME") + # Windows treats paths case-insensitively: + expected_prefix = expected_prefix.to_lower() + path_inside = path_inside.to_lower() else: helpers.crash("Unsupported OS: %s" % os) diff --git a/scripts/gitconfig b/scripts/gitconfig index 81c0646..aadad92 100644 --- a/scripts/gitconfig +++ b/scripts/gitconfig @@ -13,4 +13,6 @@ [receive] denyCurrentBranch = ignore [commit] - gpgsign = false + gpgsign = false +[pull] + rebase = false \ No newline at end of file