├── CONTRIBUTING.eng.md
├── CONTRIBUTING.md
├── README.eng.md
├── README.md
├── git-flow.md
├── interactive-rebase.eng.md
├── patterns-git.eng.md
├── patterns-git.md
└── rebase-interativo.md
/CONTRIBUTING.eng.md:
--------------------------------------------------------------------------------
1 | # Contributing
2 |
3 | ## Welcome
4 |
5 | ### You can contribute in the following ways:
6 | - Adding new git commands or concepts or tools
7 |
8 | ### Thank you for want to help to contribute to this project! :octocat:
9 |
10 | - Fork this repo on GitHub.
11 | - Clone the forked repository to your local system.
12 | - `git clone https://github.com/`YOUR_USERNAME`/git-commands.git`
13 | - Make another branch.
14 | - `git checkout -b `NAME_OF_YOUR_BRANCH``
15 | - Make the new changes and, when finished, make:
16 | - `git add .`
17 | - `git commit -m "`YOUR_COMMIT_MESSAGE`"`
18 | - `git push origin `NAME_OF_YOUR_BRANCH``
19 | - Open a pull request on GitHub for this repo.
20 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contribuindo
2 |
3 | ## Bem-vinde
4 |
5 | ### Você pode contribuir das seguintes formas:
6 | - Adicionando novos comandos/conceitos/ferramentas do git
7 | - Ajudando a traduzir os comandos/conceitos/ferramentas já existentes para o inglês, confira: [Do you speak English?](README.eng.md)
8 |
9 | ### Obrigada pela sua ajuda em contribuir com esse projeto! :octocat:
10 |
11 | - Faça o Fork do repositório no GitHub.
12 | - Clone o repositório forkado para sua máquina local.
13 | - `git clone https://github.com/`SEU_USERNAME`/git-commands.git`
14 | - Crie uma nova branch.
15 | - `git checkout -b `NOME_DA_SUA_BRANCH``
16 | - Faça suas alterações e ao finalizar:
17 | - `git add .`
18 | - `git commit -m "`SUA_MENSAGEM_DO_COMMIT`"`
19 | - `git push origin `NOME_DA_SUA_BRANCH``
20 | - Abra um pull request no GitHub para este repositório.
21 |
--------------------------------------------------------------------------------
/README.eng.md:
--------------------------------------------------------------------------------
1 | # 📓 GIT COMMANDS
2 |
3 | - [How to contribute?](CONTRIBUTING.eng.md)
4 |
5 | ## Summary
6 |
7 |
8 |
9 | Commands |
10 | How it works? |
11 |
12 |
13 | git add |
14 | Add files on stagging to prepare for the next commit |
15 |
16 |
17 | git status log |
18 | View the status of your changes |
19 |
20 |
21 | git commit |
22 | Record changes to the repo and given log message describing the changes |
23 |
24 |
25 | git push |
26 | Update remote repo with their local changes |
27 |
28 |
29 | git pull |
30 | To download information from the remote repo to the local repo |
31 |
32 |
33 | git fetch |
34 | Update refs |
35 |
36 |
37 | git branch/checkout |
38 | List, create, delete and switch branches |
39 |
40 |
41 | git mv/rm |
42 | Move, rename or remove files from the working tree and from the index |
43 |
44 |
45 | git merge |
46 | Merge between remote or local branches |
47 |
48 |
49 | git rebase |
50 | Reapply commits on top of another base tip |
51 |
52 |
53 | git revert |
54 | Revert some existing commits |
55 |
56 |
57 | git reset |
58 | Reset current HEAD to the specified state |
59 |
60 |
61 | others |
62 | More useful git commands |
63 |
64 |
65 |
66 |
9 |
10 | Comandos |
11 | O que faz? |
12 |
13 |
14 | git add |
15 | Colocar arquivos na fase de stagging |
16 |
17 |
18 | git status log |
19 | Ver o status das suas alterações |
20 |
21 |
22 | git commit |
23 | Manipular alterações pós stagging |
24 |
25 |
26 | git push |
27 | Enviar alterações para o repositório remoto |
28 |
29 |
30 | git pull |
31 | Baixar informações do repositório remoto para o local |
32 |
33 |
34 | git fetch |
35 | Atualizar referências |
36 |
37 |
38 | git branch/checkout |
39 | Manipulação de branches e navegação entre branches |
40 |
41 |
42 | git mv/rm |
43 | Trabalhando com arquivos e diretórios |
44 |
45 |
46 | git merge |
47 | Fazendo merge entre branches |
48 |
49 |
50 | git rebase |
51 | Reaplica commits em cima de determinada branch ou commit |
52 |
53 |
54 | git revert |
55 | Como desfazer alterações |
56 |
57 |
58 | git reset |
59 | Reseta o HEAD atual para o estado especificado |
60 |
61 |
62 | outros |
63 | Mais comandos úteis |
64 |
65 |
66 |
67 |