1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-10-16 19:50:09 +00:00

Compare commits

..

1 commit

Author SHA1 Message Date
Alia Wilkinson
239cfddf33
Merge 8b95897adb into 1514145a09 2024-09-21 00:06:49 +05:30
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
certifi==2024.8.30 certifi==2024.8.30
charset-normalizer==3.3.2 charset-normalizer==3.3.2
idna==3.10 idna==3.9
PyYAML==6.0.2 PyYAML==6.0.2
requests==2.32.3 requests==2.32.3
semver==3.0.2 semver==3.0.2

View file

@ -163,7 +163,7 @@ function git_current_branch() {
} }
# Outputs the name of the previously checked out branch # Outputs the name of the previously checked out branch
# Usage example: git pull origin $(git_previous_branch) # Usage example: git pull origin $(git_current_branch)
# rev-parse --symbolic-full-name @{-1} only prints if it is a branch # rev-parse --symbolic-full-name @{-1} only prints if it is a branch
function git_previous_branch() { function git_previous_branch() {
local ref local ref