Skip to content

Commit 4adf9d8

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents dec325b + 466070f commit 4adf9d8

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

src/aliases.ps1

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ function gba {
4949
function gbd {
5050
git branch --delete $args
5151
}
52+
function gbd {
53+
git branch -d $args
54+
}
5255
function gbda {
5356
$MainBranch = Get-Git-MainBranch
5457
$MergedBranchs = $(git branch --merged | Select-String "^(\*|\s*($MainBranch|develop|dev)\s*$)" -NotMatch).Line
@@ -455,6 +458,9 @@ function grrm {
455458
function grs {
456459
git restore $args
457460
}
461+
function grst {
462+
git restore --staged $args
463+
}
458464
function grset {
459465
git remote set-url $args
460466
}
@@ -579,6 +585,9 @@ function gunwip {
579585
function gup {
580586
git pull --rebase $args
581587
}
588+
function gupa {
589+
git pull --rebase --autostash $args
590+
}
582591
function gupv {
583592
git pull --rebase -v $args
584593
}
@@ -625,6 +634,7 @@ function gwip {
625634
function gwt {
626635
git worktree $args
627636
}
637+
<<<<<<< HEAD
628638
function gwta {
629639
git worktree add $args
630640
}
@@ -658,4 +668,15 @@ function gamscp {
658668

659669

660670

661-
# todo grename
671+
# todo grename
672+
||||||| 250c1a8
673+
=======
674+
function ggpnp {
675+
ggl; ggp $args
676+
}
677+
function gprom {
678+
$MainBranch = Get-Git-MainBranch
679+
680+
git pull --rebase origin $MainBranch $args
681+
}
682+
>>>>>>> upstream/master

src/git-aliases-plus.psm1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ $FunctionsToExport = @(
181181
'gunignore',
182182
'gunwip',
183183
'gup',
184+
'gupa',
184185
'gupv',
185186
'gupa',
186187
'gupav',
@@ -199,6 +200,10 @@ $FunctionsToExport = @(
199200
'gwtls',
200201
'gwtmv',
201202
'gwtrm'
203+
'ggl',
204+
'ggp',
205+
'ggpnp',
206+
'gprom'
202207
)
203208

204209
Export-ModuleMember -Function $FunctionsToExport

0 commit comments

Comments
 (0)