@@ -526,6 +526,13 @@ <h1 class="title">Module <code>continuous_delivery_scripts.utils.git_helpers</co
526526 if self.is_dirty():
527527 self.repo.git.clean(force=True, x=True, d=True)
528528
529+ def stash(self) -> None:
530+ """Stashes the repository.
531+
532+ Performs a stash.
533+ """
534+ self.repo.git.stash(all=True, quiet=True)
535+
529536 def configure_for_github(self) -> None:
530537 """Reconfigures the repository.
531538
@@ -999,6 +1006,7 @@ <h3>Inherited members</h3>
9991006< li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.root " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.root "> root</ a > </ code > </ li >
10001007< li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.set_remote_url " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.set_remote_url "> set_remote_url</ a > </ code > </ li >
10011008< li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.set_upstream_branch " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.set_upstream_branch "> set_upstream_branch</ a > </ code > </ li >
1009+ < li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.stash " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.stash "> stash</ a > </ code > </ li >
10021010< li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.uncommitted_changes " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.uncommitted_changes "> uncommitted_changes</ a > </ code > </ li >
10031011</ ul >
10041012</ li >
@@ -1552,6 +1560,13 @@ <h2 id="args">Args</h2>
15521560 if self.is_dirty():
15531561 self.repo.git.clean(force=True, x=True, d=True)
15541562
1563+ def stash(self) -> None:
1564+ """Stashes the repository.
1565+
1566+ Performs a stash.
1567+ """
1568+ self.repo.git.stash(all=True, quiet=True)
1569+
15551570 def configure_for_github(self) -> None:
15561571 """Reconfigures the repository.
15571572
@@ -2867,6 +2882,24 @@ <h2 id="args">Args</h2>
28672882 self.repo.git.branch("--set-upstream-to", self.get_remote_branch(branch_name))</ code > </ pre >
28682883</ details >
28692884</ dd >
2885+ < dt id ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.stash "> < code class ="name flex ">
2886+ < span > def < span class ="ident "> stash</ span > </ span > (< span > self) ‑> NoneType</ span >
2887+ </ code > </ dt >
2888+ < dd >
2889+ < div class ="desc "> < p > Stashes the repository.</ p >
2890+ < p > Performs a stash.</ p > </ div >
2891+ < details class ="source ">
2892+ < summary >
2893+ < span > Expand source code</ span >
2894+ </ summary >
2895+ < pre > < code class ="python "> def stash(self) -> None:
2896+ """Stashes the repository.
2897+
2898+ Performs a stash.
2899+ """
2900+ self.repo.git.stash(all=True, quiet=True)</ code > </ pre >
2901+ </ details >
2902+ </ dd >
28702903</ dl >
28712904</ dd >
28722905< dt id ="continuous_delivery_scripts.utils.git_helpers.LocalProjectRepository "> < code class ="flex name class ">
@@ -2969,6 +3002,7 @@ <h3>Inherited members</h3>
29693002< li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.root " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.root "> root</ a > </ code > </ li >
29703003< li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.set_remote_url " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.set_remote_url "> set_remote_url</ a > </ code > </ li >
29713004< li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.set_upstream_branch " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.set_upstream_branch "> set_upstream_branch</ a > </ code > </ li >
3005+ < li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.stash " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.stash "> stash</ a > </ code > </ li >
29723006< li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.uncommitted_changes " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.uncommitted_changes "> uncommitted_changes</ a > </ code > </ li >
29733007</ ul >
29743008</ li >
@@ -3086,6 +3120,7 @@ <h4><code><a title="continuous_delivery_scripts.utils.git_helpers.GitWrapper" hr
30863120< li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.root " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.root "> root</ a > </ code > </ li >
30873121< li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.set_remote_url " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.set_remote_url "> set_remote_url</ a > </ code > </ li >
30883122< li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.set_upstream_branch " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.set_upstream_branch "> set_upstream_branch</ a > </ code > </ li >
3123+ < li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.stash " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.stash "> stash</ a > </ code > </ li >
30893124< li > < code > < a title ="continuous_delivery_scripts.utils.git_helpers.GitWrapper.uncommitted_changes " href ="#continuous_delivery_scripts.utils.git_helpers.GitWrapper.uncommitted_changes "> uncommitted_changes</ a > </ code > </ li >
30903125</ ul >
30913126</ li >
0 commit comments