{"id":19416163,"url":"https://github.com/professor-enoqueleal/git-commands","last_synced_at":"2025-04-24T12:33:25.886Z","repository":{"id":153517421,"uuid":"611019039","full_name":"professor-enoqueleal/git-commands","owner":"professor-enoqueleal","description":"Repositório contendo comandos Git para referência dos alunos de TADS","archived":false,"fork":false,"pushed_at":"2024-08-23T22:11:27.000Z","size":6,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T05:03:57.764Z","etag":null,"topics":["git"],"latest_commit_sha":null,"homepage":"https://git-scm.com/docs","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/professor-enoqueleal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-07T23:59:38.000Z","updated_at":"2024-08-23T22:48:18.000Z","dependencies_parsed_at":"2025-03-06T13:15:08.126Z","dependency_job_id":null,"html_url":"https://github.com/professor-enoqueleal/git-commands","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/professor-enoqueleal%2Fgit-commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/professor-enoqueleal%2Fgit-commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/professor-enoqueleal%2Fgit-commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/professor-enoqueleal%2Fgit-commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/professor-enoqueleal","download_url":"https://codeload.github.com/professor-enoqueleal/git-commands/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250628878,"owners_count":21461707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git"],"created_at":"2024-11-10T12:46:45.462Z","updated_at":"2025-04-24T12:33:25.637Z","avatar_url":"https://github.com/professor-enoqueleal.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git commands\n\n[Reference guides](https://git-scm.com/docs)\n\n## List of all commands\n\n![Git logo](https://git-scm.com/images/logos/downloads/Git-Logo-2Color.png)\n\n### Getting and Creating Projects\n\n```bash\n# configura usuário\ngit config --global user.name \"Fulano de Tal\"\n```\n\n```bash\n# configura e-mail\ngit config --global user.email fulano-de-tal@exemplo.br\n```\n\n```bash\n# exibe as configurações atuais\ngit config --list\n```\n\n```bash\n# inicializa um novo repositório git no diretório especificado\ngit init\n```\n\n```bash\n# faz o clone de um repositório existe para sua workstation repository\ngit clone\n```\n\n### Basic Snapshotting\n```bash\n# mostra o status do seu repositório local\ngit status\n```\n\n```bash\n# adiciona arquivos ao index\ngit add file-name\n```\n\n```bash\n# faz o registro do/dos arquivo/arquivos adicionado no index contendo os metadados\ngit commit\n```\n\n```bash\n# mostra quais foram as alterações dentro do arquivo\ngit diff\n```\n\n### Branching and Merging\n\n```bash\n# listar, criar ou deletar branch\ngit branch\n```\n\n```bash\n# trocar de branch ou restaurar os arquivos que foram alterados\ngit checkout\n```\n\n```bash\n# faz a junção de duas ou mais histórias / branch\ngit merge\n```\n\n```bash\n# mostra os logs de commits\ngit log\n```\n\n```bash\n# Guarde as alterações em um diretório de trabalho temporário\ngit stash\n```\n\n### Sharing and Updating Projects\n\n```bash\n# Atualize as referências locais com base no repositório remoto\ngit fetch\n```\n\n```bash\n# Busca as alterações do repositório remoto e trás para o repositório legal\ngit pull\n```\n\n```bash\n# Envia as alterações do repositório local para o repositório remoto\ngit push\n```\n\n```bash\n# Gerenciar reposotórios rastreados\ngit remote\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofessor-enoqueleal%2Fgit-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofessor-enoqueleal%2Fgit-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofessor-enoqueleal%2Fgit-commands/lists"}