You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
###### Git flow needs to be initialized in order to customize your project setup. Start using git-flow by initializing it inside an existing git repository:
619
-
##### Initialize:
620
-
###### You'll have to answer a few questions regarding the naming conventions for your branches. It's recommended to use the default values.
616
+
### Iniciando
617
+
###### Git flow precisa inicializar para personalizar um projeto. O uso do git-flow começa ao inicializar dentro de um repositório git existente:
618
+
##### Inicializar:
619
+
###### Você vai precisar responder algumas questões para personalizar a configuração do projeto. Recomenda-se usar as configurações padrão.
621
620
```shell
622
621
git flow init
623
622
```
624
-
OR
625
-
###### To use default
623
+
OU
624
+
###### Para usar o padrão (default)
626
625
```shell
627
626
git flow init -d
628
627
```
629
628
<hr>
630
629
631
-
### Features
632
-
###### Develop new features for upcoming releases. Typically exist in developers repos only.
633
-
##### Start a new feature:
634
-
###### This action creates a new feature branch based on 'develop' and switches to it.
630
+
### Características
631
+
###### Desenvolva novas características para versões posteriores. Tipicamente existe em repos de desenvolvedores apenas.
632
+
##### Iniciar uma nova feature (característica):
633
+
###### Esta ação cria uma branch de nova feature baseada no 'develop' e alterna para ela.
635
634
```
636
635
git flow feature start MYFEATURE
637
636
```
638
637
639
-
##### Finish up a feature:
640
-
###### Finish the development of a feature. This action performs the following:
641
-
###### 1) Merged MYFEATURE into 'develop'.
642
-
###### 2) Removes the feature branch.
643
-
###### 3) Switches back to 'develop' branch
638
+
##### Terminar uma feature:
639
+
###### Finaliza o desenvolvimento da feature. Esta ação realiza o seguinte:
640
+
###### 1) Faz o merged da MYFEATURE na 'develop'.
641
+
###### 2) Remove a branch 'feature'.
642
+
###### 3) Volta para a branch 'develop'
644
643
```
645
644
git flow feature finish MYFEATURE
646
645
```
647
646
648
-
##### Publish a feature:
649
-
###### Are you developing a feature in collaboration? Publish a feature to the remote server so it can be used by other users.
647
+
##### Publicar uma feature:
648
+
###### Você desenvolve uma feature em equipe? Publique uma feature para o servidor remoto para que os outros possam usá-la.
650
649
```
651
650
git flow feature publish MYFEATURE
652
651
```
653
652
654
-
##### Getting a published feature:
655
-
###### Get a feature published by another user.
653
+
##### Baixar uma feature publicada:
654
+
###### Baixar uma feature publicada por outro usuário.
656
655
```
657
656
git flow feature pull origin MYFEATURE
658
657
```
659
658
660
-
##### Tracking a origin feature:
661
-
###### You can track a feature on origin by using
659
+
##### Rastreando a feature na origin:
660
+
###### Você consegue rastrear a feature na origin usando:
662
661
```
663
662
git flow feature track MYFEATURE
664
663
```
665
664
<hr>
666
665
667
-
### Make a Release
668
-
###### Support preparation of a new production release. Allow for minor bug fixes and preparing meta-data for a release
666
+
### Fazer um release
667
+
###### Ajustes na preparação de um novo release de produção. Permitir para correção de bugs menores e preparando os metadados para um release.
669
668
670
-
##### Start a release:
671
-
###### To start a release, use the git flow release command. It creates a release branch created from the 'develop' branch. You can optionally supply a [BASE] commit sha-1 hash to start the release from. The commit must be on the 'develop' branch.
669
+
##### Iniciar um release:
670
+
###### Use o comando git flow, que cria uma branch de release a partir da 'develop'. Opcionalmente você pode fornecer um hash sha-1 de um commit [BASE] para iniciar a release a partir deste. O commit deve estar no branch 'develop'.
672
671
```
673
672
git flow release start RELEASE [BASE]
674
673
```
675
-
###### It's wise to publish the release branch after creating it to allow release commits by other developers. Do it similar to feature publishing with the command:
674
+
###### É aconselhável publicar a release branch depois de criá-la, para permitir outros commits de desenvolvedores. Faça de maneira similar a publicar uma feature com o comando:
676
675
```
677
676
git flow release publish RELEASE
678
677
```
679
-
###### (You can track a remote release with the: ```git flow release track RELEASE``` command)
###### Finishing a release is one of the big steps in git branching. It performs several actions:
683
-
###### 1) Merges the release branch back into 'master'
684
-
###### 2) Tags the release with its name
685
-
###### 3) Back-merges the release into 'develop'
686
-
###### 4) Removes the release branch
680
+
##### Finalizando a release:
681
+
###### Finalizar a release é um dos grandes pontos em branching no git. Isto executa várias ações:
682
+
###### 1) Merge da release branch de volta na 'master'
683
+
###### 2) Faz as tags da release com seu nome
684
+
###### 3) Volta a fundir a release branch na branch 'develop'
685
+
###### 4) Apaga a release branch
687
686
```
688
687
git flow release finish RELEASE
689
688
```
690
-
###### Don't forget to push your tags with```git push --tags```
689
+
###### Não esqueça de publicar as tags com```git push --tags```
691
690
692
691
<hr>
693
692
694
693
### Hotfixes
695
-
###### Hotfixes arise from the necessity to act immediately upon an undesired state of a live production version. May be branched off from the corresponding tag on the master branch that marks the production version.
694
+
###### Hotfixes surgiram da necessidade de agir imediatamente sobre um determinado estado de uma versão em produção. Pode ser criado um branch correspondente a partir da tag na master branch que marca a versão em produção.
696
695
697
-
##### Git flow hotfix start:
698
-
###### Like the other git flow commands, a hotfix is started with
696
+
##### Iniciar um hotfix:
697
+
###### Assim como o comando git flow, um hotfix inicia com:
699
698
```
700
699
$ git flow hotfix start VERSION [BASENAME]
701
700
```
702
-
###### The version argument hereby marks the new hotfix release name. Optionally you can specify a basename to start from.
701
+
###### O argumento 'version' marca o novo nome da release. Opcionalmente pode-se especificar um basename.
703
702
704
-
##### Finish a hotfix:
705
-
###### By finishing a hotfix it gets merged back into develop and master. Additionally the master merge is tagged with the hotfix version
703
+
##### Terminando um hotfix:
704
+
###### Ao terminar um hotfix, este é fundido de volta na develop e na master. Adicionalmente é feita uma tag na master com a versão do hotfix.
0 commit comments