PT git clone, git config, git add, git status, git commit, git push, git pull, git branch, git checkout e git merge
"git merge aprenda" i Potukara ka taea te whakamaori ki nga kupu Ingarihi e whai ake nei:
PT git clone, git config, git add, git status, git commit, git push, git pull, git branch, git checkout e git merge
EN git clone, git config, git add, git status, git commit, git push, git pull, git branch, git checkout, and git merge
Potukara | Ingarihi |
---|---|
add | add |
status | status |
branch | branch |
checkout | checkout |
e | and |
clone | clone |
PT Inspecionar repositório: git status Git stash Aprenda o Git com o Bitbucket Cloud: use uma ramificação do Git para fazer o merge de um arquivo Aprenda o Git com o Bitbucket Cloud: copie o Repositório do Git e adicione arquivos
EN Inspecting a repository: git status Git Stash Learn Git with Bitbucket Cloud: Use a Git branch to merge a file Learn Git with Bitbucket Cloud: Copy your Git repository and add files
Potukara | Ingarihi |
---|---|
inspecionar | inspecting |
aprenda | learn |
bitbucket | bitbucket |
cloud | cloud |
ramificação | branch |
copie | copy |
adicione | add |
PT Usar ramificações: git branch Usar ramificações: git checkout Usar ramificações: git merge Aprenda o Git com o Bitbucket Cloud: use uma ramificação do Git para fazer o merge de um arquivo
EN Using Branches: git branch Using Branches: git checkout Using Branches: git merge Learn Git with Bitbucket Cloud: Use a Git branch to merge a file
Potukara | Ingarihi |
---|---|
checkout | checkout |
aprenda | learn |
bitbucket | bitbucket |
cloud | cloud |
PT Salvar alterações: git add Aprenda o Git com o Bitbucket Cloud: copie o Repositório do Git e adicione arquivos Usar ramificações: git merge Inspecionar repositório: git status
EN Saving changes: git add Learn Git with Bitbucket Cloud: Copy your Git repository and add files Using Branches: git merge Inspecting a repository: git status
Potukara | Ingarihi |
---|---|
alterações | changes |
aprenda | learn |
bitbucket | bitbucket |
cloud | cloud |
copie | copy |
inspecionar | inspecting |
PT Usar ramificações: git merge Reescrever o histórico: git commit --amend Aprenda o Git com o Bitbucket Cloud: copie o Repositório do Git e adicione arquivos Salvar alterações: git add
EN Using Branches: git merge Rewriting history: git commit --amend Learn Git with Bitbucket Cloud: Copy your Git repository and add files Saving changes: git add
Potukara | Ingarihi |
---|---|
histórico | history |
aprenda | learn |
bitbucket | bitbucket |
cloud | cloud |
copie | copy |
alterações | changes |
PT Git para desenvolvedores Git para marketing Git para gerenciamento de produto Git para designers Git para suporte ao cliente Git para recursos humanos Git para qualquer pessoa que gerencie um orçamento
EN Git for developers Git for marketing Git for product management Git for designers Git for customer support Git for human resources Git for anyone managing a budget
Potukara | Ingarihi |
---|---|
git | git |
marketing | marketing |
produto | product |
cliente | customer |
PT Git para desenvolvedores Git para marketing Git para gerenciamento de produto Git para designers Git para suporte ao cliente Git para recursos humanos Git para qualquer pessoa que gerencie um orçamento
EN Git for developers Git for marketing Git for product management Git for designers Git for customer support Git for human resources Git for anyone managing a budget
Potukara | Ingarihi |
---|---|
git | git |
marketing | marketing |
produto | product |
cliente | customer |
PT Por esse motivo, o comando git branch é muito integrado com os comandos git checkout e git merge.
EN For this reason, git branch is tightly integrated with the git checkout and git merge commands.
Potukara | Ingarihi |
---|---|
motivo | reason |
branch | branch |
integrado | integrated |
checkout | checkout |
PT Se ele achar que o recurso está pronto para o merge no projeto, tudo o que ele precisa fazer é clicar no botão Merge para aprovar a solicitação pull e fazer o merge do recurso da Mary à sua ramificação main.
EN If he thinks the feature is ready to merge into the project, all he has to do is hit the Merge button to approve the pull request and merge Mary’s feature into his main branch.
Potukara | Ingarihi |
---|---|
se | if |
recurso | feature |
pronto | ready |
merge | merge |
projeto | project |
solicitação | request |
pull | pull |
mary | mary |
ramificação | branch |
main | main |
PT Se ele achar que o recurso está pronto para o merge no projeto, tudo o que ele precisa fazer é clicar no botão Merge para aprovar a solicitação pull e fazer o merge do recurso da Mary à sua ramificação main.
EN If he thinks the feature is ready to merge into the project, all he has to do is hit the Merge button to approve the pull request and merge Mary’s feature into his main branch.
Potukara | Ingarihi |
---|---|
se | if |
recurso | feature |
pronto | ready |
merge | merge |
projeto | project |
solicitação | request |
pull | pull |
mary | mary |
ramificação | branch |
main | main |
PT Criar um repositório do Git Copiar seu repositório do Git e adicionar arquivos Puxar as alterações do seu repositório do Git no Bitbucket Cloud Usar uma ramificação do Git para mesclar um arquivo
EN Create a Git repository Copy your Git repository and add files Pull changes from your Git repository on Bitbucket Cloud Use a Git branch to merge a file
Potukara | Ingarihi |
---|---|
copiar | copy |
seu | your |
adicionar | add |
alterações | changes |
bitbucket | bitbucket |
cloud | cloud |
usar | use |
ramificação | branch |
PT Criar um repositório do Git Copiar seu repositório do Git e adicionar arquivos Puxar as alterações do seu repositório do Git no Bitbucket Cloud Usar uma ramificação do Git para mesclar um arquivo
EN Create a Git repository Copy your Git repository and add files Pull changes from your Git repository on Bitbucket Cloud Use a Git branch to merge a file
Potukara | Ingarihi |
---|---|
copiar | copy |
seu | your |
adicionar | add |
alterações | changes |
bitbucket | bitbucket |
cloud | cloud |
usar | use |
ramificação | branch |
PT Inspecionar repositório: git log Registro avançado do Git: filtrar o histórico de commits Registro avançado do Git: formatação da saída do log Tutoriais avançados do Git: visão geral
EN Inspecting a repository: git log Advanced Git log: Filtering the Commit History Advanced Git log: Formatting Log Output Advanced Git Tutorials: Overview
Potukara | Ingarihi |
---|---|
inspecionar | inspecting |
repositório | repository |
filtrar | filtering |
o | the |
formatação | formatting |
saída | output |
tutoriais | tutorials |
PT O Git tem sua própria sintaxe de URL, que é usada para passar locais de repositório remoto para os comandos do Git. Como o git clone é mais usado em repositórios remotos, a gente vai examinar a sintaxe de URL do Git aqui.
EN Git has its own URL syntax which is used to pass remote repository locations to Git commands. Because git clone is most commonly used on remote repositories we will examine Git URL syntax here.
Potukara | Ingarihi |
---|---|
git | git |
sintaxe | syntax |
url | url |
locais | locations |
comandos | commands |
examinar | examine |
clone | clone |
PT Um protocolo exclusivo para o Git. O Git vem com um daemon que roda na porta (9418). O protocolo é semelhante ao SSH, porém NÃO TEM AUTENTICAÇÃO. git://host.xz[:port]/path/to/repo.git/
EN A protocol unique to git. Git comes with a daemon that runs on port (9418). The protocol is similar to SSH however it has NO AUTHENTICATION. git://host.xz[:port]/path/to/repo.git/
Potukara | Ingarihi |
---|---|
protocolo | protocol |
exclusivo | unique |
git | git |
porta | port |
semelhante | similar |
ssh | ssh |
host | host |
daemon | daemon |
PT Saiba mais sobre as operações de ramificação git checkout, como alternar e fazer merge das ramificações, na página do git checkout.
EN Learn more about git checkout branch operations; such as switching branches and merging branches, on the git checkout page.
Potukara | Ingarihi |
---|---|
operações | operations |
ramificação | branch |
git | git |
checkout | checkout |
página | page |
PT Uma maneira poderosa de integrar alterações de ramificações divergentes. Após bifurcar o histórico do projeto com o git branch, o git merge permite unificar o histórico de novo.
EN A powerful way to integrate changes from divergent branches. After forking the project history with git branch, git merge lets you put it back together again.
Potukara | Ingarihi |
---|---|
maneira | way |
poderosa | powerful |
alterações | changes |
histórico | history |
projeto | project |
branch | branch |
permite | lets |
de novo | again |
PT Outros fluxos de trabalho do Git, como o Git Forking Workflow e o Gitflow Workflow, são focados em repositórios e podem aproveitar o fluxo de trabalho do branch de recurso do Git para gerenciar modelos de branch
EN Other Git workflows like the Git Forking Workflow and the Gitflow Workflow are repo focused and can leverage the Git Feature Branch Workflow to manage their branching models
Potukara | Ingarihi |
---|---|
outros | other |
git | git |
gitflow | gitflow |
são | are |
podem | can |
aproveitar | leverage |
branch | branch |
recurso | feature |
modelos | models |
PT Observe que isso apenas cria a nova ramificação. Para começar a adicionar confirmações a ela, é necessário selecionar com git checkout e, em seguida, usar os comandos git add e git commit padrão.
EN Note that this only creates the new branch. To start adding commits to it, you need to select it with git checkout, and then use the standard git add and git commit commands.
Potukara | Ingarihi |
---|---|
observe | note |
ramificação | branch |
necessário | need |
checkout | checkout |
comandos | commands |
padrão | standard |
PT Diga ao Git para rastrear o novo arquivo locations.txt usando o comando git add. Assim como quando você cria um arquivo, o comando git add não retorna nada quando você o insere corretamente.
EN Tell Git to track your new locations.txt file using the git add command. Just like when you created a file, the git add command doesn't return anything when you enter it correctly.
Potukara | Ingarihi |
---|---|
diga | tell |
git | git |
locations | locations |
txt | txt |
comando | command |
add | add |
cria | created |
retorna | return |
corretamente | correctly |
PT O git commit faz um commit do instantâneo preparado no histórico do projeto. Combinado com git add, esse processo define o fluxo de trabalho básico para todos os usuários do Git.
EN The git commit takes the staged snapshot and commits it to the project history. Combined with git add, this process defines the basic workflow for all Git users.
Potukara | Ingarihi |
---|---|
instantâneo | snapshot |
histórico | history |
add | add |
define | defines |
básico | basic |
usuários | users |
PT Há várias maneiras de instalar o Git em um Mac. Na verdade, se você instalou o Xcode (ou suas ferramentas de linha de comando), o Git pode já estar instalado. Para saber, abra um terminal e digite git --version.
EN There are several ways to install Git on a Mac. In fact, if you've installed XCode (or it's Command Line Tools), Git may already be installed. To find out, open a terminal and enter git --version.
Potukara | Ingarihi |
---|---|
maneiras | ways |
git | git |
mac | mac |
verdade | fact |
se | if |
ou | or |
ferramentas | tools |
pode | may |
terminal | terminal |
digite | enter |
PT A Apple mantém e lança a própria bifurcação do Git, mas tende a ficar várias versões atrás do Git convencional. Talvez você queira instalar uma versão mais recente do Git usando um dos métodos abaixo:
EN Apple actually maintain and ship their own fork of Git, but it tends to lag behind mainstream Git by several major versions. You may want to install a newer version of Git using one of the methods below:
Potukara | Ingarihi |
---|---|
apple | apple |
git | git |
tende | tends |
usando | using |
métodos | methods |
PT Para aprender como usar o Git com o Sourcetree (e como hospedar seus repositórios Git no Bitbucket) você pode seguir nosso Tutorial de Git com Bitbucket e Sourcetree.
EN To learn how to use Git with Sourcetree (and how to host your Git repositories on Bitbucket) you can follow our comprehensive Git tutorial with Bitbucket and Sourcetree.
Potukara | Ingarihi |
---|---|
git | git |
hospedar | host |
repositórios | repositories |
bitbucket | bitbucket |
tutorial | tutorial |
PT Para aprender como usar o Git com o Sourcetree (e como hospedar seus repositórios Git no Bitbucket), você pode seguir o Tutorial de Git com Bitbucket e Sourcetree.
EN To learn how to use Git with Sourcetree (and how to host your Git repositories on Bitbucket) you can follow our comprehensive Git tutorial with Bitbucket and Sourcetree.
Potukara | Ingarihi |
---|---|
git | git |
hospedar | host |
repositórios | repositories |
bitbucket | bitbucket |
tutorial | tutorial |
PT Para referência mais aprofundada sobre a funcionalidade do git clone, consulte a documentação oficial do Git. Exemplos práticos do git clone também são abordados no guia de configuração do repositório.
EN For further, deeper reference on git clone functionality, consult the official Git documentation. We also cover practical examples of git clone in our setting up a repository guide.
Potukara | Ingarihi |
---|---|
referência | reference |
funcionalidade | functionality |
git | git |
consulte | consult |
oficial | official |
exemplos | examples |
repositório | repository |
clone | clone |
PT Com as verificações de merge, você pode recomendar que determinadas condições de merge de solicitações pull sejam atendidas em branches individuais
EN Merge checks allow you to recommend certain conditions on pull request merges are met for individual branches
Potukara | Ingarihi |
---|---|
verificações | checks |
determinadas | certain |
condições | conditions |
solicitações | request |
pull | pull |
PT Mas, se você prefere um histórico linear, é possível fazer o rebase do recurso na extremidade da principal antes de executar o merge, resultando em um merge de avanço rápido.
EN But, if you’re partial to a linear history, it’s possible to rebase the feature onto the tip of main before executing the merge, resulting in a fast-forward merge.
Potukara | Ingarihi |
---|---|
se | if |
histórico | history |
linear | linear |
possível | possible |
o | the |
recurso | feature |
principal | main |
executar | executing |
merge | merge |
rápido | fast |
rebase | rebase |
PT Complemento do Google Smartsheet Merge para o Google Docs O Smartsheet Merge é um complemento do Google Docs que permite a criação de faturas, cartas modelo, envelopes ou outros documentos dos seus dados do Smartsheet.
EN Google Smartsheet Merge add-on for Google Docs Smartsheet Merge is a Google Docs add-on that enables you to create invoices, form letters, envelopes, or other documents from your Smartsheet data.
PT Aprenda a usar o Git com o Bitbucket Cloud Saiba mais sobre a revisão de código no Bitbucket Cloud Aprenda a fazer ramificações com Bitbucket Cloud Aprenda a desfazer alterações no Bitbucket Cloud
EN Learn Git with Bitbucket Cloud Learn about code review in Bitbucket Cloud Learn Branching with Bitbucket Cloud Learn Undoing Changes with Bitbucket Cloud
Potukara | Ingarihi |
---|---|
git | git |
bitbucket | bitbucket |
cloud | cloud |
revisão | review |
código | code |
alterações | changes |
PT Aprenda a usar o Git com o Bitbucket Cloud Saiba mais sobre a revisão de código no Bitbucket Cloud Aprenda a fazer ramificações com Bitbucket Cloud Aprenda a desfazer alterações no Bitbucket Cloud
EN Learn Git with Bitbucket Cloud Learn about code review in Bitbucket Cloud Learn Branching with Bitbucket Cloud Learn Undoing Changes with Bitbucket Cloud
Potukara | Ingarihi |
---|---|
git | git |
bitbucket | bitbucket |
cloud | cloud |
revisão | review |
código | code |
alterações | changes |
PT Aprenda a usar o Git com o Bitbucket Cloud | Atlassian Git Tutorial
EN Learn Git with Bitbucket Cloud | Atlassian Git Tutorial
Potukara | Ingarihi |
---|---|
aprenda | learn |
usar | with |
git | git |
bitbucket | bitbucket |
cloud | cloud |
atlassian | atlassian |
tutorial | tutorial |
PT O Gitflow é apenas uma ideia abstrata do fluxo de trabalho Git, ou seja, ele dita que tipos de ramificações configurar e como fazer o merge
EN Gitflow is really just an abstract idea of a Git workflow
Potukara | Ingarihi |
---|---|
gitflow | gitflow |
apenas | just |
ideia | idea |
abstrata | abstract |
git | git |
PT Em seguida, ela registra a solicitação pull na GUI do Git, solicitando o merge da marys-feature na principal, e os membros da equipe vão ser notificados direto
EN Then, she files the pull request in her Git GUI asking to merge marys-feature into main, and team members will be notified automatically
Potukara | Ingarihi |
---|---|
solicitação | request |
gui | gui |
solicitando | asking |
principal | main |
membros | members |
equipe | team |
PT Torne o Bitbucket seu sandbox Git com tutoriais que vão acelerá-lo com o Git e ajudá-lo a criar fluxos de trabalho eficientes.
EN Make Bitbucket your Git sandbox with tutorials that bring you up to speed with Git and help you build effective workflows.
Potukara | Ingarihi |
---|---|
bitbucket | bitbucket |
git | git |
tutoriais | tutorials |
eficientes | effective |
fluxos de trabalho | workflows |
PT O Sourcetree simplifica o modo como você interage com seus repositórios Git, para que você se concentre no código. Visualize e gerencie seus repositórios com a GUI Git do Sourcetree.
EN Sourcetree simplifies how you interact with your Git repositories so you can focus on coding. Visualize and manage your repositories through Sourcetree's simple Git GUI.
Potukara | Ingarihi |
---|---|
simplifica | simplifies |
interage | interact |
repositórios | repositories |
git | git |
código | coding |
visualize | visualize |
gerencie | manage |
gui | gui |
PT Não é apenas uma GUI do Git. O Sourcetree coloca o poder do Git em destaque em uma interface fácil de usar.
EN Not just a Git GUI. Sourcetree places the power of Git front and center in an easy-to-use interface.
Potukara | Ingarihi |
---|---|
git | git |
coloca | places |
poder | power |
usar | use |
PT Se você estiver interessado no acesso ao git ou snapshots do git, você pode encontrá-los na páagina do desenvolvimento.
EN Should you be interested in git access or git snapshots, you can find them on development page.
Potukara | Ingarihi |
---|---|
interessado | interested |
no | in |
acesso | access |
git | git |
ou | or |
snapshots | snapshots |
desenvolvimento | development |
PT Etapa 9: A ativação do Git permitirá que você copie os arquivos do seu site de um repositório Git, em vez de upload através do Plesk ou FTP.
EN Step 9: Enabling Git will allow you to copy your site's files from a Git repository rather than upload through Plesk or FTP.
Potukara | Ingarihi |
---|---|
etapa | step |
git | git |
copie | copy |
site | site |
um | a |
upload | upload |
ou | or |
ftp | ftp |
s | s |
plesk | plesk |
PT O Gitflow é um fluxo de trabalho legado do Git que no começo era uma estratégia inovadora e revolucionária para gerenciar ramificações do Git
EN Gitflow is a legacy Git workflow that was originally a disruptive and novel strategy for managing Git branches
Potukara | Ingarihi |
---|---|
gitflow | gitflow |
legado | legacy |
git | git |
estratégia | strategy |
PT Após instalar o git-flow, você pode usar no projeto executando git flow init
EN On windows you will need to download and install git-flow. After installing git-flow you can use it in your project by executing git flow init
Potukara | Ingarihi |
---|---|
após | after |
usar | use |
no | in |
projeto | project |
executando | executing |
git | git |
flow | flow |
PT O comando git flow init é uma extensão do comando git init padrão e não faz alterações no repositório, apenas cria ramificações para você.
EN The git flow init command is an extension of the default git init command and doesn't change anything in your repository other than creating branches for you.
Potukara | Ingarihi |
---|---|
comando | command |
git | git |
flow | flow |
é | is |
extensão | extension |
padrão | default |
alterações | change |
repositório | repository |
cria | creating |
PT Ao utilizar a biblioteca de extensão do git-flow, executar git flow init no repositório existente vai criar uma ramificação de desenvolvimento:
EN When using the git-flow extension library, executing git flow init on an existing repo will create the develop branch:
Potukara | Ingarihi |
---|---|
biblioteca | library |
extensão | extension |
git | git |
flow | flow |
repositório | repo |
existente | existing |
ramificação | branch |
PT O Sourcetree simplifica o modo como você interage com seus repositórios Git, para que você se concentre no código. Visualize e gerencie seus repositórios com a GUI Git do Sourcetree.
EN Sourcetree simplifies how you interact with your Git repositories so you can focus on coding. Visualize and manage your repositories through Sourcetree's simple Git GUI.
Potukara | Ingarihi |
---|---|
simplifica | simplifies |
interage | interact |
repositórios | repositories |
git | git |
código | coding |
visualize | visualize |
gerencie | manage |
gui | gui |
PT Não é apenas uma GUI do Git. O Sourcetree coloca o poder do Git em destaque em uma interface fácil de usar.
EN Not just a Git GUI. Sourcetree places the power of Git front and center in an easy-to-use interface.
Potukara | Ingarihi |
---|---|
git | git |
coloca | places |
poder | power |
usar | use |
PT Cole o comando que você copiou do Bitbucket (seria algo assim): git clone https://username@bitbucket.org/teamsinspace/documentation-test.git
EN Paste the command you copied from Bitbucket (would like something like this): git clone https://username@bitbucket.org/teamsinspace/documentation-test.git
Potukara | Ingarihi |
---|---|
cole | paste |
comando | command |
você | you |
bitbucket | bitbucket |
algo | something |
git | git |
org | org |
copiou | copied |
clone | clone |
https | https |
PT Depois de criado, faça o fetch e o checkout da ramificação no sistema local. O Bitbucket mostra automaticamente o comando necessário, e seria algo assim: git fetch && git checkout
EN Once created, fetch and checkout the branch from your local system. Bitbucket will automatically show you the command needed, and it will look something like this: git fetch && git checkout
Potukara | Ingarihi |
---|---|
criado | created |
o | the |
checkout | checkout |
ramificação | branch |
sistema | system |
local | local |
bitbucket | bitbucket |
mostra | show |
automaticamente | automatically |
comando | command |
necessário | needed |
seria | will |
algo | something |
git | git |
amp | amp |
PT Crie uma ramificação usando o comando Git branch. git branch
EN Create a branch using the Git branch command. git branch
Potukara | Ingarihi |
---|---|
crie | create |
usando | using |
comando | command |
git | git |
PT Com o Git LFS, arquivos grandes são mantidos em armazenamento paralelo ao código, e referências leves são armazenadas no repositório do Git
EN Using Git LFS, large files are kept in parallel storage to your code, and lightweight references are stored in your Git repository
Potukara | Ingarihi |
---|---|
git | git |
grandes | large |
são | are |
mantidos | kept |
paralelo | parallel |
código | code |
referências | references |
leves | lightweight |
lfs | lfs |
PT Como você pode ver, é possível replicar um ambiente de desenvolvimento tradicional do Subversão usando apenas alguns comandos do Git. Isso é excelente para as equipes de transição fora do SVN, mas não aproveita a natureza distribuída do Git.
EN As you can see, it’s possible to replicate a traditional Subversion development environment using only a handful of Git commands. This is great for transitioning teams off of SVN, but it doesn’t leverage the distributed nature of Git.
Potukara | Ingarihi |
---|---|
replicar | replicate |
desenvolvimento | development |
tradicional | traditional |
comandos | commands |
git | git |
excelente | great |
equipes | teams |
transição | transitioning |
svn | svn |
distribuída | distributed |
E whakaatu ana i te 50 o nga whakamaoritanga 50