File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## SNIPPETS
44
5+ <details ><summary >SQUASH COMMITS (e.g. PRE-PR) </summary >
6+
7+ ```
8+ # git branch = e.g. feature branch
9+ # more than one commits on branch
10+
11+ git rebase -i origin/main
12+
13+ # in rebase-editor - pick the first one and squash all others
14+ # e.g.
15+ pick 4225ee1 feat: add global storage class
16+ squash d26e006 feat: add the ability for a global storage
17+ squash 0815sfg feat: whatever
18+
19+ # save w/ :wq
20+
21+ # in the commit editor - delete eveything unnessesary, just commit message is important
22+ # e.g.
23+
24+ feat: add global storage class
25+
26+ for deploying vre on multiple sites/clusters
27+ it's important to have the ability for
28+ setting a global storage class for all apps
29+ with one (global) variable. issue:
30+ 111-add-the-ability-to-globally-set-storage-class.
31+
32+ # save w/ :wq
33+
34+ # FORCE PUSH IN GIVEN BRANCH
35+ git push origin 111-add-the-ability-to-globally-set-storage-class --force
36+ ```
37+
38+
39+
40+ # remove unnessesary comments/lines
41+
42+ </details >
43+
44+
545<details ><summary >DELETE LARGE FILES FROM HISTORY</summary >
646
747``` bash
You can’t perform that action at this time.
0 commit comments