{"id":20511323,"url":"https://github.com/friedrith/awesome-git","last_synced_at":"2026-03-09T13:42:51.020Z","repository":{"id":72463682,"uuid":"379596841","full_name":"friedrith/awesome-git","owner":"friedrith","description":"A list of tips to master git","archived":false,"fork":false,"pushed_at":"2021-08-27T21:23:04.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-29T00:00:57.433Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/friedrith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-06-23T12:33:05.000Z","updated_at":"2021-08-27T21:23:06.000Z","dependencies_parsed_at":"2024-01-13T13:02:15.884Z","dependency_job_id":"21444f0a-17a7-47b9-8f96-54a686991c6e","html_url":"https://github.com/friedrith/awesome-git","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/friedrith/awesome-git","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedrith%2Fawesome-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedrith%2Fawesome-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedrith%2Fawesome-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedrith%2Fawesome-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/friedrith","download_url":"https://codeload.github.com/friedrith/awesome-git/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/friedrith%2Fawesome-git/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30297284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T11:12:22.024Z","status":"ssl_error","status_checked_at":"2026-03-09T11:10:54.577Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-15T20:35:32.555Z","updated_at":"2026-03-09T13:42:50.988Z","avatar_url":"https://github.com/friedrith.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# awesome-git\nA opiniated list of tips to power master git\n\nGit as the rest of code and tools should serve features and not over-engineered project management.\nIt should be easy to use and save you time, not consume time.\n\n- name branch using commitlint prefix `git checkout -b \"feat/...\"`\n- create temporary commit `gwip` with [oh my zsh git aliases](https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/git/git.plugin.zsh)\n- push code: `git push origin/feat/... ` or `ggp`\n- fetch merge request: `git mr 1234` with git alias \n- delete mr branches `git mrc`\n- list branches: `git branch` or `gb`\n- come back to working branch `gco feat/\u003cTAB\u003e` with git alias \n- uncreate temporary commit `gunwip`\n- create normal commit with autofilled template `git commit -a`\n- commit title based on [angular conventional commitlint](https://github.com/conventional-changelog/commitlint/tree/master/@commitlint/config-conventional#type-enum)\n- git extension ([Git lens on VS code](https://gitlens.amod.io/))\n- go to develop to rebase `git dev` then `git pull --rebase` or `gpr`\n- `git rebase origin/develop` \n- resolve conflict \n- update branch then commit `git commit -a --amend` or `gca!`\n- for push `git push --force origin/feat/... ` or `ggf`\n\n## How to configure git\n\n```sh\ngit config alias.mr '!sh -c '\\''git fetch $1 merge-requests/$2/head:mr-$1-$2 \u0026\u0026 git checkout mr-$1-$2'\\'' -'\ngit config alias.mrc '!sh -c '\\''git branch | grep -w -i '\\''mr-.*'\\'' | xargs git branch -D'\\'' -'\ngit config alias.wip '!sh -c '\\''git add -A \u0026\u0026 git commit --no-verify --no-gpg-sign -m '\\''--wip-- [skip ci]'\\'''\\'' -'\ngit config alias.unwip '!sh -c '\\''git log -n 1 | grep -q -c -- \"--wip--\" \u0026\u0026 git reset HEAD~1'\\'' -'\ngit config alias.dev '!sh -c '\\''git checkout develop'\\'''\ngit config --bool checkout.guess false\n\ngit config commit.template \".gitlab/merge_request_templates/Default.md\"\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriedrith%2Fawesome-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriedrith%2Fawesome-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriedrith%2Fawesome-git/lists"}