{"id":13942639,"url":"https://github.com/angelorpt/espanso-git","last_synced_at":"2025-07-20T06:31:42.009Z","repository":{"id":106128274,"uuid":"343918115","full_name":"angelorpt/espanso-git","owner":"angelorpt","description":"Improve your git experience using this snippets triggers, become a faster developer at cli.","archived":false,"fork":false,"pushed_at":"2023-02-14T21:12:34.000Z","size":6,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-27T12:36:49.985Z","etag":null,"topics":["espanso","git","snippets"],"latest_commit_sha":null,"homepage":"https://espanso.org/","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/angelorpt.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}},"created_at":"2021-03-02T21:31:20.000Z","updated_at":"2024-07-07T23:39:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"99fe0642-3770-463c-bcf2-8f738f168d61","html_url":"https://github.com/angelorpt/espanso-git","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/angelorpt/espanso-git","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelorpt%2Fespanso-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelorpt%2Fespanso-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelorpt%2Fespanso-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelorpt%2Fespanso-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angelorpt","download_url":"https://codeload.github.com/angelorpt/espanso-git/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angelorpt%2Fespanso-git/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266076350,"owners_count":23872741,"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":["espanso","git","snippets"],"created_at":"2024-08-08T02:01:57.995Z","updated_at":"2025-07-20T06:31:41.730Z","avatar_url":"https://github.com/angelorpt.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# Espanso GIT\n\nImprove your git experience using this snippets triggers.\nA package of the most common and important Git commands.\nBecome faster with the Git CLI.\n\n## Triggers\n\n### Configurations\n\n| Trigger         | Command                                  |\n| --------------- | ---------------------------------------- |\n| giti.           | `git init`                               |\n| gitcl.          | `git clone`                              |\n| gitconfigline1. | `git config --global core.autocrlf true` |\n| gitconfigline2. | `git config --global core.safecrlf warn` |\n| gitemailg.      | `git config --global user.email \"\"`      |\n| gitemaill.      | `git config --local user.email \"\"`       |\n| gituserg.       | `git config --global user.name \"\"`       |\n| gituserl.       | `git config --local user.name \"\"`        |\n\n\u003cbr\u003e\n\n### Commits\n\n| Trigger | Command                                                     |\n| ------- | ----------------------------------------------------------- |\n| gits.   | `git status`                                                |\n| gita.   | `git add .`                                                 |\n| gitc.   | `git commit -m \"\"`                                          |\n| gitamc. | `git commit --amend -m \"\"`                                  |\n| gitcam. | `git commit --amend -m \"\"`                                  |\n| gitama. | `git commit --amend --author=\"User Name \u003cemail@email.com\u003e\"` |\n| gitamd. | `git commit --amend --date=\"2023-02-14T15:55:00\"`           |\n| gitru.  | `git remote update`                                         |\n| gitfa.  | `git fetch --all`                                           |\n\n\u003cbr\u003e\n\n### Push\n\n| Trigger | Command                        |\n| ------- | ------------------------------ |\n| gitpf.  | `git push origin --force `     |\n| gitp.   | `git push origin`              |\n| gitpd.  | `git push origin develop`      |\n| gitpd1. | `git push origin dev`          |\n| gitpd2. | `git push origin develop`      |\n| gitpd3. | `git push origin development`  |\n| gitph.  | `git push origin homolog`      |\n| gitph1. | `git push origin hml`          |\n| gitph2. | `git push origin homolog`      |\n| gitph3. | `git push origin homologation` |\n\n\u003cbr\u003e\n\n### Pull\n\n| Trigger | Command                        |\n| ------- | ------------------------------ |\n| gitu.   | `git pull origin `             |\n| gitud.  | `git pull origin develop`      |\n| gitud1. | `git pull origin dev`          |\n| gitud2. | `git pull origin develop`      |\n| gitud3. | `git pull origin development`  |\n| gituh.  | `git pull origin homolog`      |\n| gituh1. | `git pull origin hml`          |\n| gituh2. | `git pull origin homolog`      |\n| gituh3. | `git pull origin homologation` |\n\n\u003cbr\u003e\n\n### Stash\n\n| Trigger  | Command                         |\n| -------- | ------------------------------- |\n| gitst.   | `git stash`                     |\n| gitstl.  | `git stash list`                |\n| gitsts.  | `git stash show`                |\n| gitstp.  | `git stash pop`                 |\n| gitstd.  | `git stash drop`                |\n| gitstiu. | `git stash --include-untracked` |\n\n\u003cbr\u003e\n\n### Branch\n\n| Trigger   | Command                     |\n| --------- | --------------------------- |\n| gitm.     | `git merge`                 |\n| gitbm.    | `git branch -m main`        |\n| gitmb.    | `git merge`                 |\n| gitmd.    | `git merge develop`         |\n| gitmd1.   | `git merge dev`             |\n| gitmd2.   | `git merge develop`         |\n| gitmd3.   | `git merge development`     |\n| gitmh.    | `git merge homolog`         |\n| gitmh1.   | `git merge hml`             |\n| gitmh2.   | `git merge homolog`         |\n| gitmh3.   | `git merge homologation`    |\n| gitchk.   | `git checkout`              |\n| gitchkd.  | `git checkout develop`      |\n| gitchkd1. | `git checkout dev`          |\n| gitchkd2. | `git checkout develop`      |\n| gitchkd3. | `git checkout development`  |\n| gitchkh.  | `git checkout homolog`      |\n| gitchkh1. | `git checkout hml`          |\n| gitchkh2. | `git checkout homolog`      |\n| gitchkh3. | `git checkout homologation` |\n| gitchkb.  | `git checkout -b`           |\n| gitnb.    | `git checkout -b`           |\n| gitb.     | `git branch`                |\n| gitba.    | `git branch -a`             |\n| gitbd.    | `git branch -d `            |\n| gitbdf.   | `git branch -D `            |\n| gitbdr.   | `git push origin --delete`  |\n\n\u003cbr\u003e\n\n### Log\n\n| Trigger | Command                                                             |\n| ------- | ------------------------------------------------------------------- |\n| gitl.   | `git log`                                                           |\n| gitlp.  | `git log --pretty=oneline`                                          |\n| gitlo.  | `git log --oneline`                                                 |\n| gitlgo. | `git log --graph --oneline`                                         |\n| gitlpf. | `git log --pretty=format:\"%h %ad  %s%d [%an]\" --graph --date=short` |\n\n\u003cbr\u003e\n\n### Revert | Rebase | Reset\n\n| Trigger   | Command                     |\n| --------- | --------------------------- |\n| gitrb.    | `git rebase master`         |\n| gitrs.    | `git reset`                 |\n| gitrsh.   | `git reset --hard`          |\n| gitrshh.  | `git reset --hard HEAD`     |\n| gitrshh1. | `git reset --hard HEAD~1`   |\n| gitrss.   | `git reset --soft `         |\n| gitrssh.  | `git reset --soft HEAD`     |\n| gitrssh1. | `git reset --soft HEAD~1`   |\n| gitrv.    | `git revert HEAD`           |\n| gitrvne.  | `git revert HEAD --no-edit` |\n\n\u003cbr\u003e\n\n### Tags\n\n| Trigger | Command      |\n| ------- | ------------ |\n| gittg.  | `git tag`    |\n| gittgd. | `git tag -d` |\n\n### Tags\n\n| Trigger  | Command         |\n| -------- | --------------- |\n| gitrt.   | `git restore .` |\n| gitcln.  | `git clean`     |\n| gitclnf. | `git clean -f`  |\n\n### Others\n\n| Trigger | Command                    |\n| ------- | -------------------------- |\n| gitmv.  | `git mv file.ext dir_name` |\n| gitcyp. | `git cherry-pick `         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangelorpt%2Fespanso-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangelorpt%2Fespanso-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangelorpt%2Fespanso-git/lists"}