EN The -branch argument lets you specify a specific branch to clone instead of the branch the remote HEAD is pointing to, usually the main branch. In addition you can pass a tag instead of branch for the same effect.
"main branch" in inglese può essere tradotto nelle seguenti parole/frasi polacco:
EN The -branch argument lets you specify a specific branch to clone instead of the branch the remote HEAD is pointing to, usually the main branch. In addition you can pass a tag instead of branch for the same effect.
PL Argument -branch pozwala wskazać konkretną gałąź do klonowania zamiast gałęzi głównej, na którą zazwyczaj wskazuje zdalny wskaźnik HEAD. Ponadto zamiast gałęzi można przekazać tag, aby uzyskać identyczny efekt.
inglese | polacco |
---|---|
specific | na |
branch | branch |
remote | zdalny |
head | head |
pointing | wskazuje |
usually | zazwyczaj |
main | głównej |
can | można |
tag | tag |
effect | efekt |
instead | zamiast |
to | do |
lets | pozwala |
EN Notice the On branch future-plans line? If you entered git status previously, the line was on branch main because you only had the one main branch
PL Widzisz wiersz On branch future-plans? Jeśli wcześniej wprowadzono polecenie git status, wiersz znajdował się w obszarze branch main, ponieważ istniał tylko jeden obszar branch main
inglese | polacco |
---|---|
branch | branch |
git | git |
status | status |
if | jeśli |
only | tylko |
you | je |
previously | wcześniej |
EN The default development branch. Whenever you create a git repository, a branch named "main" is created, and becomes the active branch.
PL Domyślna gałąź programowania. Przy każdym utworzeniu repozytorium Git tworzona jest gałąź „main” (główna), która staje się aktywną gałęzią.
inglese | polacco |
---|---|
default | domyślna |
development | programowania |
git | git |
repository | repozytorium |
main | główna |
is | jest |
created | utworzeniu |
EN List the branches for this repository. You’ll see the default branch main, and the new branch you created. git branch
PL Wyświetl listę gałęzi dla tego repozytorium. Zobaczysz domyślną gałąź główną oraz nowo utworzoną gałąź. git branch
inglese | polacco |
---|---|
repository | repozytorium |
branch | branch |
git | git |
and | oraz |
see | zobaczysz |
EN The default development branch. Whenever you create a git repository, a branch named "main" is created, and becomes the active branch.
PL Domyślna gałąź programowania. Przy każdym utworzeniu repozytorium Git tworzona jest gałąź o nazwie „master”, która staje się aktywną gałęzią.
inglese | polacco |
---|---|
default | domyślna |
development | programowania |
git | git |
repository | repozytorium |
is | jest |
created | utworzeniu |
EN The default development branch. Whenever you create a git repository, a branch named "main" is created, and becomes the active branch.
PL Domyślna gałąź programowania. Przy każdym utworzeniu repozytorium Git tworzona jest gałąź o nazwie „master”, która staje się aktywną gałęzią.
inglese | polacco |
---|---|
default | domyślna |
development | programowania |
git | git |
repository | repozytorium |
is | jest |
created | utworzeniu |
EN The main branch stores the official release history, and the develop branch serves as an integration branch for features
PL W gałęzi main jest przechowywana historia oficjalnych wydań, natomiast gałąź develop służy do integrowania funkcji
inglese | polacco |
---|---|
official | oficjalnych |
history | historia |
develop | develop |
serves | służy |
features | funkcji |
and | do |
EN The default development branch. Whenever you create a git repository, a branch named "main" is created, and becomes the active branch.
PL Domyślna gałąź programowania. Przy każdym utworzeniu repozytorium Git tworzona jest gałąź „main” (główna), która staje się aktywną gałęzią.
inglese | polacco |
---|---|
default | domyślna |
development | programowania |
git | git |
repository | repozytorium |
main | główna |
is | jest |
created | utworzeniu |
EN List the branches for this repository. You’ll see the default branch main, and the new branch you created. git branch
PL Wyświetl listę gałęzi dla tego repozytorium. Zobaczysz domyślną gałąź główną oraz nowo utworzoną gałąź. git branch
inglese | polacco |
---|---|
repository | repozytorium |
branch | branch |
git | git |
and | oraz |
see | zobaczysz |
EN Go back to your local terminal window and send your committed changes to Bitbucket using git push origin main. This command specifies that you are pushing to the main branch (the branch on Bitbucket) on origin (the Bitbucket server).
PL Wróć do okna lokalnego terminala i wyślij objęte commitem zmiany do Bitbucket za pomocą polecenia git push origin main. Polecenie to określa, że wypychasz zmiany do gałęzi main (gałęzi w Bitbucket) na źródłowym serwerze Bitbucket.
inglese | polacco |
---|---|
local | lokalnego |
terminal | terminala |
window | okna |
changes | zmiany |
bitbucket | bitbucket |
git | git |
push | push |
specifies | określa |
on | na |
to | do |
command | polecenie |
using | za |
EN List the branches for this repository. You’ll see the default branch master, and the new branch you created. git branch
PL Wyświetl listę gałęzi dla tego repozytorium. Zobaczysz domyślną gałąź master oraz nowo utworzoną gałąź. git branch
inglese | polacco |
---|---|
repository | repozytorium |
branch | branch |
git | git |
and | oraz |
see | zobaczysz |
EN List the branches for this repository. You’ll see the default branch master, and the new branch you created. git branch
PL Wyświetl listę gałęzi dla tego repozytorium. Zobaczysz domyślną gałąź master oraz nowo utworzoną gałąź. git branch
inglese | polacco |
---|---|
repository | repozytorium |
branch | branch |
git | git |
and | oraz |
see | zobaczysz |
EN The repository history remains unchanged. All you get is a new pointer to the current branch. To begin working on the new branch, you have to check out the branch you want to use.
PL Historia repozytorium nie zmienia się. Pojawia się tylko nowy odnośnik do bieżącej gałęzi. Aby rozpocząć pracę nad nową gałęzią, musisz wyewidencjonować gałąź, której chcesz użyć.
inglese | polacco |
---|---|
repository | repozytorium |
history | historia |
new | nowy |
current | bieżącej |
want | chcesz |
you | nie |
to | do |
EN Because you are creating a branch to work on something new, every time you create a new branch (with git branch), you want to make sure to check it out (with git checkout) if you're going to use it
PL Ponieważ tworzysz gałąź w celu pracy nad czymś nowym, za każdym razem, gdy tworzysz nową gałąź (za pomocą polecenia git branch), musisz ją wyewidencjonować (za pomocą polecenia git checkout), jeśli zamierzasz z niej korzystać
inglese | polacco |
---|---|
git | git |
checkout | checkout |
branch | gałąź |
new | nową |
if | jeśli |
with | z |
work | pracy |
you | niej |
use | korzystać |
because | ponieważ |
to | nad |
EN Merge a pull requestAfter your code has been reviewed and approved in a pull request, click the Merge button to merge your branch into the main branch
PL Scalanie pull requestuPo sprawdzeniu i zatwierdzeniu kodu w pull requeście, kliknij przycisk Merge (Scal), aby scalić swoją gałąź z gałęzią główną
inglese | polacco |
---|---|
code | kodu |
click | kliknij |
button | przycisk |
in | w |
to | aby |
EN Merge a pull requestAfter your code has been reviewed and approved in a pull request, click the Merge button to merge your branch into the main branch
PL Scalanie pull requestuPo sprawdzeniu i zatwierdzeniu kodu w pull requeście, kliknij przycisk Merge (Scal), aby scalić swoją gałąź z gałęzią główną
inglese | polacco |
---|---|
code | kodu |
click | kliknij |
button | przycisk |
in | w |
to | aby |
EN Merge a pull requestAfter your code has been reviewed and approved in a pull request, click the Merge button to merge your branch into the main branch
PL Scalanie pull requestuPo sprawdzeniu i zatwierdzeniu kodu w pull requeście, kliknij przycisk Merge (Scal), aby scalić swoją gałąź z gałęzią główną
inglese | polacco |
---|---|
code | kodu |
click | kliknij |
button | przycisk |
in | w |
to | aby |
EN Under this model, developers create a feature branch and delay merging it to the main trunk branch until the feature is complete
PL W tym modelu programiści tworzą gałąź funkcji i opóźniają scalenie jej z gałęzią główną do momentu ukończenia pracy nad funkcją
inglese | polacco |
---|---|
model | modelu |
developers | programiści |
feature | funkcji |
to | do |
and | i |
EN Similar to finishing a release branch, a hotfix branch gets merged into both main and develop.
PL Podobnie jak w przypadku kończenia gałęzi release, gałąź hotfix jest scalana z gałęziami main i develop.
inglese | polacco |
---|---|
similar | podobnie |
release | release |
develop | develop |
gets | jest |
and | i |
into | w |
EN A complete example demonstrating a Feature Branch Flow is as follows. Assuming we have a repo setup with a main branch.
PL Poniżej przedstawiono kompletny przykład ilustrujący przepływ gałęzi funkcji. Założono w nim, że mamy konfigurację repozytorium z gałęzią main.
inglese | polacco |
---|---|
example | przykład |
feature | funkcji |
flow | przepływ |
repo | repozytorium |
complete | w |
have | z |
EN Merge a pull requestAfter your code has been reviewed and approved in a pull request, click the Merge button to merge your branch into the main branch
PL Scalanie pull requestuPo sprawdzeniu i zatwierdzeniu kodu w pull requeście, kliknij przycisk Merge (Scal), aby scalić swoją gałąź z gałęzią główną
inglese | polacco |
---|---|
code | kodu |
click | kliknij |
button | przycisk |
in | w |
to | aby |
EN For a visual example, this diagram shows the main branch and the other branch with a bug fix update.
PL Ten schemat pokazuje przykładową gałąź main i drugą gałąź z aktualizacją poprawiającą błędy.
inglese | polacco |
---|---|
shows | pokazuje |
and | i |
EN Your space station is growing, and it's time for the opening ceremony of your Mars location. Now that your future plans are becoming a reality, you can merge your future-plans branch into the main branch on your local system.
PL Twoja stacja kosmiczna rozrasta się i nadszedł czas na uroczyste otwarcie oddziału na Marsie. Teraz, gdy twoje plany urzeczywistniają się, możesz scalić gałąź future-plans z gałęzią main w systemie lokalnym.
inglese | polacco |
---|---|
plans | plany |
can | możesz |
local | lokalnym |
system | systemie |
time | czas |
of | z |
now | teraz |
on | na |
branch | oddział |
into | w |
EN Merge changes from the future-plans branch into the main branch. It will look something like this:
PL Scal zmiany z gałęzi future-plans z gałęzią main. Widok powinien być mniej więcej następujący:
inglese | polacco |
---|---|
changes | zmiany |
into | z |
EN As soon as the fix is complete, it should be merged into both main and develop (or the current release branch), and main should be tagged with an updated version number.
PL Gdy tylko poprawka będzie gotowa, należy ją scalić z gałęziami main i develop (lub bieżącą gałęzią release), a gałąź main należy otagować zaktualizowanym numerem wersji.
inglese | polacco |
---|---|
as | gdy |
should | należy |
develop | develop |
or | lub |
and | i |
soon | z |
version | wersji |
EN If an issue in main is detected a hotfix branch is created from main
PL W razie wykrycia problemu w gałęzi main utworzenie gałęzi hotfix wyprowadzonej z gałęzi main.
inglese | polacco |
---|---|
in | w |
issue | z |
EN The code changes from the source branch are now fully incorporated into the target branch.
PL Wówczas zmiany wprowadzone w kodzie w gałęzi źródłowej zostaną w pełni włączone do gałęzi docelowej.
inglese | polacco |
---|---|
code | kodzie |
changes | zmiany |
fully | w pełni |
target | docelowej |
into | w |
EN The code changes from the source branch are now fully incorporated into the target branch.
PL Wówczas zmiany wprowadzone w kodzie w gałęzi źródłowej zostaną w pełni włączone do gałęzi docelowej.
inglese | polacco |
---|---|
code | kodzie |
changes | zmiany |
fully | w pełni |
target | docelowej |
into | w |
EN The code changes from the source branch are now fully incorporated into the target branch.
PL Wówczas zmiany wprowadzone w kodzie w gałęzi źródłowej zostaną w pełni włączone do gałęzi docelowej.
inglese | polacco |
---|---|
code | kodzie |
changes | zmiany |
fully | w pełni |
target | docelowej |
into | w |
EN Note that feature branches combined with the develop branch is, for all intents and purposes, the Feature Branch Workflow. But, the Gitflow workflow doesn’t stop there.
PL Należy zauważyć, że gałęzie feature połączone z gałęzią develop są pod względem zamierzeń i celów tożsame z przepływem pracy gałęzi funkcji. Ale przepływ pracy Gitflow nie ogranicza się tylko do tego.
inglese | polacco |
---|---|
feature | funkcji |
develop | develop |
purposes | celów |
workflow | przepływ pracy |
gitflow | gitflow |
combined | z |
all | w |
and | i |
but | ale |
EN Making release branches is another straightforward branching operation. Like feature branches, release branches are based on the develop branch. A new release branch can be created using the following methods.
PL Tworzenie gałęzi release jest kolejną prostą operacją tworzenia gałęzi. Podobnie jak gałęzie feature gałęzie release są oparte na gałęzi develop. Nową gałąź release można utworzyć za pomocą opisanych poniżej metod.
inglese | polacco |
---|---|
release | release |
like | jak |
can | można |
methods | metod |
is | jest |
on | na |
using | za |
based | oparte |
created | tworzenia |
EN The code changes from the source branch are now fully incorporated into the target branch.
PL Wówczas zmiany wprowadzone w kodzie w gałęzi źródłowej zostaną w pełni włączone do gałęzi docelowej.
inglese | polacco |
---|---|
code | kodzie |
changes | zmiany |
fully | w pełni |
target | docelowej |
into | w |
EN Branch selection: Pick the branch you want to view
PL Wybór gałęzi: wybierz gałąź, którą chcesz wyświetlić
inglese | polacco |
---|---|
want | chcesz |
selection | wybór |
pick | wybierz |
EN A. Branch with new file: Change if you want to add file to a different branch. B. New file area: Add content for your new file here.
PL Bitbucket — nowy plikBitbucket — nowy plikA. Gałąź z nowym plikiem: zmień, jeśli chcesz dodać plik do innej gałęzi. B. Obszar nowego pliku: tutaj możesz dodać zawartość nowego pliku.
inglese | polacco |
---|---|
if | jeśli |
to | do |
different | innej |
b | b |
area | obszar |
here | tutaj |
want | chcesz |
new | nowy |
you | z |
EN This command creates a branch but does not switch you to that branch, so your repository looks something like this:
PL To polecenie tworzy gałąź, ale nie przełącza Cię do tej gałęzi, więc Twoje repozytorium wygląda podobnie jak poniżej:
inglese | polacco |
---|---|
command | polecenie |
creates | tworzy |
repository | repozytorium |
to | do |
looks | wygląda |
but | ale |
not | nie |
like | jak |
EN Because you created only one branch and made one change, use the fast-forward branch method to merge
PL Ponieważ utworzono tylko jedną gałąź i wprowadzono jedną zmianę, do scalenia należy użyć metody fast-forward
inglese | polacco |
---|---|
change | zmian |
method | metody |
merge | scalenia |
and | i |
only | tylko |
to | do |
EN You can do a fast-forward merge because you have a linear path from the current branch tip to the target branch
PL Możesz wykonać scalanie fast-forward, ponieważ masz prostą ścieżkę od bieżącej końcówki gałęzi do gałęzi docelowej
inglese | polacco |
---|---|
can | możesz |
current | bieżącej |
target | docelowej |
to | do |
EN Instead of “actually” merging the branches, all Git has to do to integrate the histories is move (i.e., “fast-forward”) the current branch tip up to the target branch tip
PL Zamiast „faktycznego” scalenia gałęzi, Git po prostu integruje historie, przenosząc (metoda „fast-forward”) końcówkę bieżącej gałęzi do końcówki gałęzi docelowej
EN Creating a "branch" in VCS tools keeps multiple streams of work independent from each other while also providing the facility to merge that work back together, enabling developers to verify that the changes on each branch do not conflict
PL Utworzenie „gałęzi” w narzędziach VCS pozwala realizować wiele strumieni prac niezależnie od siebie, ułatwiając równocześnie scalenie tych prac z powrotem, co umożliwia programistom sprawdzenie, czy wprowadzone zmiany nie kolidują ze sobą
inglese | polacco |
---|---|
changes | zmiany |
in | w |
multiple | wiele |
of | z |
do | czy |
not | nie |
back | powrotem |
EN For privacy information, go to: https://branch.io/policies/#privacy To opt-out, visit: https://branch.app.link/optout
PL Aby uzyskać informacje dotyczące polityki prywatności, przejdź do: https://branch.io/policies/#privacy Aby zrezygnować, odwiedź: https://branch.app.link/optout
EN Instead of a single main branch, this workflow uses two branches to record the history of the project
PL Zamiast pojedynczej gałęzi main do rejestrowania historii projektu w tym przepływie pracy są wykorzystywane dwie gałęzie
inglese | polacco |
---|---|
single | pojedynczej |
history | historii |
to | do |
project | projektu |
instead | zamiast |
two | w |
EN It's also convenient to tag all commits in the main branch with a version number.
PL Wygodnym rozwiązaniem jest również tagowanie wszystkich commitów w gałęzi main numerem wersji.
inglese | polacco |
---|---|
version | wersji |
in | w |
its | jest |
EN Once the release is ready to ship, it will get merged it into main and develop, then the release branch will be deleted
PL Gdy wydanie będzie gotowe do dostarczenia, zostanie scalone z gałęzią main i develop, a następnie gałąź release zostanie usunięta
inglese | polacco |
---|---|
ready | gotowe |
develop | develop |
to | do |
and | i |
release | wydanie |
EN A develop branch is created from main
PL Utworzenie gałęzi develop wyprowadzonej z gałęzi main.
inglese | polacco |
---|---|
develop | develop |
EN When the release branch is done it is merged into develop and main
PL Gdy gałąź release jest gotowa, scalenie jej z gałęziami develop i main.
inglese | polacco |
---|---|
release | release |
develop | develop |
is | jest |
and | i |
EN Now it's time to merge the change that you just made back into the main branch.
PL Teraz czas scalić wprowadzoną właśnie zmianę z powrotem z gałęzią main.
inglese | polacco |
---|---|
change | zmian |
now | teraz |
time | czas |
back | powrotem |
into | w |
its | z |
just | nie |
EN You've essentially moved the pointer for the main branch forward to the current head and your repository looks something like the fast forward merge above.
PL Zasadniczo wskaźnik został przesunięty dla gałęzi main do bieżącego wskaźnika HEAD, a Twoje repozytorium wygląda mniej więcej jak efekt scalenia fast-forward przedstawionego powyżej.
inglese | polacco |
---|---|
essentially | zasadniczo |
current | bieżącego |
head | head |
repository | repozytorium |
merge | scalenia |
to | do |
like | jak |
looks | wygląda |
your | twoje |
EN When you delete future-plans, you can still access the branch from main using a commit id
PL Po usunięciu future-plans nadal można uzyskać dostęp do gałęzi z obszaru main za pomocą identyfikatora commita
inglese | polacco |
---|---|
can | można |
still | nadal |
using | za |
EN Integrated that change back into the main branch
PL Zintegrowanie zmiany z powrotem z gałęzią main
inglese | polacco |
---|---|
change | zmiany |
into | z |
back | powrotem |
EN Features are generally merged into the develop branch, while release and hotfix branches are merged into both develop and main. Pull requests can be used to formally manage all of these merges.
PL Funkcje są generalnie scalane z gałęzią develop, a gałęzie wydania i poprawek są scalane zarówno z gałęziami develop, jak i main. Pull requestów można używać do formalnego zarządzania wszystkimi tymi scaleniami.
inglese | polacco |
---|---|
features | funkcje |
develop | develop |
can | można |
of | z |
to | do |
and | i |
Visualizzazione 50 di 50 traduzioni