Last active
November 15, 2021 08:28
-
-
Save kostyrev/4dbf5cab1c7b57ed36cf633951c0c0dd to your computer and use it in GitHub Desktop.
Revisions
-
kostyrev revised this gist
Feb 8, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,7 +22,7 @@ git push -u origin $(git rev-parse --abbrev-ref HEAD) --force P.S. я себе добавил алиасов, что проще набирать ``` $ grep HEAD ~/.bash_profile alias push='git push -u origin $(git rev-parse --abbrev-ref HEAD) $@' alias rebase='git pull --no-edit origin $(git rev-parse --abbrev-ref HEAD) --rebase --ff-only' ``` -
kostyrev revised this gist
Mar 23, 2018 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -19,6 +19,7 @@ git push -u origin $(git rev-parse --abbrev-ref HEAD) --force чтобы не было множества коммитов в MR* *есть ли смысл в отдельных коммитах определяешь, полагаясь на здравый смысл: есть ли вероятность того, что придется реверить отдельный коммит? P.S. я себе добавил алиасов, что проще набирать ``` $ grep HEAD ~/.bashrc -
kostyrev revised this gist
Mar 23, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,8 +10,8 @@ git commit ... ``` git push -u origin $(git rev-parse --abbrev-ref HEAD) ``` открываешь MR проходишь код-ревью если есть замечания по код-ревью, фиксаешь их и пушишь в свой же бранч с форсом ``` git push -u origin $(git rev-parse --abbrev-ref HEAD) --force -
kostyrev revised this gist
Mar 23, 2018 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ ``` git checkout master git pull --no-edit origin $(git rev-parse --abbrev-ref HEAD) --rebase --ff-only git checkout -b new-feature ``` -
kostyrev revised this gist
Mar 15, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -21,6 +21,6 @@ git push -u origin $(git rev-parse --abbrev-ref HEAD) --force P.S. я себе добавил алиасов, что проще набирать ``` $ grep HEAD ~/.bashrc alias push='git push -u origin $(git rev-parse --abbrev-ref HEAD) $@' alias rebase='git pull --no-edit origin $(git rev-parse --abbrev-ref HEAD) --rebase --ff-only' ``` -
kostyrev revised this gist
Jan 16, 2018 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,12 +6,14 @@ git checkout -b new-feature git commit ... ``` ... ``` git push -u origin $(git rev-parse --abbrev-ref HEAD) ``` открываешь MR проходишь код-ревью если есть замечания по код-ревью, фиксаешь их и пушишь в свой же бранч с форсом ``` git push -u origin $(git rev-parse --abbrev-ref HEAD) --force ``` чтобы не было множества коммитов в MR* *есть ли смысл в отдельных коммитах определяешь, полагаясь на здравый смысл: -
kostyrev revised this gist
Jan 15, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,7 @@ git commit ... ``` чтобы не было множества коммитов в MR* *есть ли смысл в отдельных коммитах определяешь, полагаясь на здравый смысл: есть ли вероятность того, что придется реверить отдельный коммит? P.S. я себе добавил алиасов, что проще набирать ``` $ grep HEAD ~/.bashrc -
kostyrev revised this gist
Jan 15, 2018 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,8 @@ git commit ... ```git push -u origin $(git rev-parse --abbrev-ref HEAD) --force ``` чтобы не было множества коммитов в MR* *есть ли смысл в отдельных коммитах определяешь, полагаясь на здравый смысл: есть ли вероятность того, что придется реверить отдельный коммит P.S. я себе добавил алиасов, что проще набирать ``` $ grep HEAD ~/.bashrc -
kostyrev revised this gist
Jan 15, 2018 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,6 +16,8 @@ git commit ... чтобы не было множества коммитов в MR* *есть ли смысл в отдельных коммитах определяешь, полагаясь на здравый смысл: есть ли вероятность того, что придется реверить отдельный коммит P.S. я себе добавил алиасов, что проще набирать ``` $ grep HEAD ~/.bashrc alias push='git push -u origin $(git rev-parse --abbrev-ref HEAD)' alias rebase='git pull --no-edit origin $(git rev-parse --abbrev-ref HEAD) --rebase --ff-only' ``` -
kostyrev revised this gist
Jan 15, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,8 +14,8 @@ git commit ... ```git push -u origin $(git rev-parse --abbrev-ref HEAD) --force ``` чтобы не было множества коммитов в MR* *есть ли смысл в отдельных коммитах определяешь, полагаясь на здравый смысл: есть ли вероятность того, что придется реверить отдельный коммит P.S. я себе добавил алиасов, что проще набирать ```$ grep HEAD ~/.bashrc alias push='git push -u origin $(git rev-parse --abbrev-ref HEAD)' alias rebase='git pull --no-edit origin $(git rev-parse --abbrev-ref HEAD) --rebase --ff-only'``` -
kostyrev revised this gist
Jan 15, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,7 +13,7 @@ git commit ... если есть замечания по код-ревью, фиксаешь их и пушишь в свой же бранч с форсом ```git push -u origin $(git rev-parse --abbrev-ref HEAD) --force ``` чтобы не было множества коммитов в MR* *есть ли смысл в отдельных коммитах определяешь, полагаясь на здравый смысл: есть ли вероятность того, что придется реверить отдельный коммит P.S. я себе добавил алиасов, что проще набирать ```$ grep HEAD ~/.bashrc -
kostyrev renamed this gist
Dec 20, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
kostyrev created this gist
Dec 20, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ ```git checkout master git pull --no-edit origin $(git rev-parse --abbrev-ref HEAD) --rebase --ff-only git checkout -b new-feature ``` ```git add ... git commit ... ``` ... ```git push -u origin $(git rev-parse --abbrev-ref HEAD) ``` открываешь MR проходишь код-ревью если есть замечания по код-ревью, фиксаешь их и пушишь в свой же бранч с форсом ```git push -u origin $(git rev-parse --abbrev-ref HEAD) --force ``` чтобы не было множества коммитов в MR* *есть ли смысл в отдельных коммитах определяешь, полагаясь на здравый смысл: есть ли вероятность того, что придется реверить отдельный коммит P.S. я себе добавил алиасов, что проще набирать ```$ grep HEAD ~/.bashrc alias push='git push -u origin $(git rev-parse --abbrev-ref HEAD)' alias rebase='git pull --no-edit origin $(git rev-parse --abbrev-ref HEAD) --rebase --ff-only'```