File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ function gba {
49
49
function gbd {
50
50
git branch -- delete $args
51
51
}
52
+ function gbd {
53
+ git branch - d $args
54
+ }
52
55
function gbda {
53
56
$MainBranch = Get-Git - MainBranch
54
57
$MergedBranchs = $ (git branch -- merged | Select-String " ^(\*|\s*($MainBranch |develop|dev)\s*$)" -NotMatch ).Line
@@ -455,6 +458,9 @@ function grrm {
455
458
function grs {
456
459
git restore $args
457
460
}
461
+ function grst {
462
+ git restore -- staged $args
463
+ }
458
464
function grset {
459
465
git remote set-url $args
460
466
}
@@ -579,6 +585,9 @@ function gunwip {
579
585
function gup {
580
586
git pull -- rebase $args
581
587
}
588
+ function gupa {
589
+ git pull -- rebase -- autostash $args
590
+ }
582
591
function gupv {
583
592
git pull -- rebase - v $args
584
593
}
@@ -625,6 +634,7 @@ function gwip {
625
634
function gwt {
626
635
git worktree $args
627
636
}
637
+ <<<<<<< HEAD
628
638
function gwta {
629
639
git worktree add $args
630
640
}
@@ -658,4 +668,15 @@ function gamscp {
658
668
659
669
660
670
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
Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ $FunctionsToExport = @(
181
181
' gunignore' ,
182
182
' gunwip' ,
183
183
' gup' ,
184
+ ' gupa' ,
184
185
' gupv' ,
185
186
' gupa' ,
186
187
' gupav' ,
@@ -199,6 +200,10 @@ $FunctionsToExport = @(
199
200
' gwtls' ,
200
201
' gwtmv' ,
201
202
' gwtrm'
203
+ ' ggl' ,
204
+ ' ggp' ,
205
+ ' ggpnp' ,
206
+ ' gprom'
202
207
)
203
208
204
209
Export-ModuleMember - Function $FunctionsToExport
You can’t perform that action at this time.
0 commit comments