Now, move the master branch back to the middle commit.
Teraz cofnij gałąź master do środkowej zmiany.
Create a diff against the current Git master branch.
Stwórz diff z bieżącą główną gałęzią Gita.
you have a master branch that contains basically stable code.
posiadasz gałąź master która zawiera stabilny kod.
Then, you can merge those changes back into your master branch.
Następnie, możesz włączyć te zmiany do swojej gałęzi master.
For instance, to see where your master branch was yesterday, you can type.
Na przykład, aby zobaczyć gdzie była gałąź master wczoraj, możesz wywołać.
All you have to do is switch back to your master branch.
Wszystko, co musisz teraz zrobić, to przełączyć się z powrotem na gałąź master.
To pull the master branch on the remote down to origin/mymaster locally, you can run.
Aby pobrać gałąź master z zdalnego serwera, do origin/mymaster możesz uruchomić.
You get a reference to teamone's master branch position locally.
Dostajesz lokalny odnośnik do gałęzi master w repozytorium teamone.
Your master branch points to the same place as your hotfix branch after the merge.
Po scaleniu Twoja gałąź master wskazuje to samo miejsce, co gałąź hotfix.
If you want to pull commit e43a6 into your master branch, you can run.
Jeżeli chcesz pobrać zmianę e43a6 do swojej gałęzi master, możesz uruchomić.
Com and updates its master branch, then your histories move forward differently.
Com i zaktualizuje jego gałąź główną, wówczas wasze historie przesuną się do przodu w różny sposób.
For instance, you can add a remote called origin and push your master branch to it.
Na przykład, możesz dodać zdalne repozytorium o nazwie origin i wypchnąć gałąź master do niego.
Fast-forwarding your master branch to include the client branch changes.
Przesunięcie do przodu gałęzi master w celu uwzględnienia zmian z gałęzi klienta.
so you can switch back to your master branch.
możesz przełączyć się na swoją gałąź master.
You can exclude commits in the master branch by adding the--not option before the branch name.
Możesz wyłączyć zmiany z gałęzi master poprzez dodanie opcji--not przed jej nazwą.
so you can switch back to your master branch.
możesz przełączyć się na swoją gałąź master.
If the QA team wants to push their master branch to qa/master on the remote server,
Jeżeli zespół QA chce wypychać swoją gałąź master do qa/master na zdalnym serwerze,
The master^{tree} syntax specifies the tree object that is pointed to by the last commit on your master branch.
Składnia master^{tree} wskazuje na obiekt tree na który wskazuje ostatni commit w Twojej gałęzi master.
So, if there is a master branch on the server, you can access the log of that branch locally via.
Więc, jeżeli istnieje gałąź master na serwerze, możesz uzyskać dostęp do logów tej gałęzi poprzez.
When you clone a repository, it generally automatically creates a master branch that tracks origin/master.
Po sklonowaniu repozytorium automatycznie tworzona jest gałąź master, która śledzi origin/master.
For instance, if you're updating the master branch and adding an experiment branch,
Na przykład, jeżeli aktualizujesz gałąź master oraz dodajesz gałąź experiment,
your rack_branch branch and your own project in the master branch.
a swój projekt w gałęzi master.
This means that if you commit at this point, the master branch will be moved forward with your new work.
Oznacza to, że jeśli na tym etapie dodasz nową rewizję, gałąź master przesunie się do przodu o twoje nowe zmiany.
It's often helpful to get a review of all the commits that are in this branch but that aren't in your master branch.
Często pomocne jest przejrzenie wszystkich zmian które są w tej gałęzi, ale nie ma ich w gałęzi master.
Now, if you want to merge your opera branch into trunk(your master branch), you can do so with a normal git merge.
Teraz, gdy zechcesz włączyć gałąź opera do trunk(czyli swojej gałęzi master), możesz to zrobić za pomocą zwykłego git merge.
You do that by having Git compare the last commit on your topic branch with the first common ancestor it has with the master branch.
Możesz to zrobić, poprzez porównanie ostatniego commitu z gałęzi tematycznej, z pierwszym wspólnym przodkiem z gałęzi master.
At this point, you can go back to the master branch and do a fast-forward merge see Figure 3-30.
W tym momencie możesz wrócić do gałęzi master i scalić zmiany wykonując proste przesunięcie wskaźnika(co przesunie wskaźnik master na koniec) rysunek 3-30.
The git-receive-pack command immediately responds with one line for each reference it currently has- in this case, just the master branch and its SHA.
Komenda git-receive-pack od razu odpowiada jedną linią dla każdej referencji którą aktualnie zawiera- w tym przypadku, tylko gałąź master oraz jej SHA.
If you want Git instead to pull down only the master branch each time, and not every other branch on the remote server, you can change the fetch line to.
Jeżeli chciałbyś, aby Git pobierał za każdym razem tylko gałąź master, a nie wszystkie inne gałęzie na zdalnym serwerze, możesz zmienić linię fetch na.
Następnie sprawdzasz co znajduje się w HEAD, tak aby było wiadomo jaką gałąź pobrać po zakończeniu:
Musisz pobrać gałąź master po ukończeniu całego procesu.
Gałąź ta nie będzie się różniła niczym od tej podstawowej (jest to gałąź master).
Aby z powrotem przełączyć się na gałąź master wykonaj polecenie:
Aby wysłać nową gałąź do zdalnego repozytorium wykonaj:
git push origin feature_test
11.
Oznacza to, że jeśli na tym etapie dodasz nową rewizję, gałąź master przesunie się do przodu o twoje nowe zmiany.
I po zatwierdzeniu jakichś zmian na KOMPUTER_2 i wysłaniu ich w świat (push) okazało się, że gałąź master "na serwerze" zatwierdziła się sama.
Status Skipped świadczy o pominięciu tego etapu, ponieważ źródłową gałęzią jest gałąź master, a nie qa.
W momencie releasu zmiany z brancha releasowego są nakładane na gałąź master.
Oczywiście, gałąź master, możesz zastąpić nazwą innej gałęzi, do której wysyłasz zmiany.
Wrócimy na gałąź master i z mergujemy gałąź branchB do master
/c/git (branchB) $ git merge branchB --no-ff Merge made by the 'recursive' strategy.
Więc gałąź master zapisuję jako gałąź before_A i rozwijam master.
Polski
Český
Deutsch
عربى
Български
বাংলা
Dansk
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Bahasa indonesia
Italiano
日本語
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
Українська
اردو
Tiếng việt
中文