{"id":19016040,"url":"https://github.com/varunu28/git-saviors","last_synced_at":"2026-05-14T01:39:49.856Z","repository":{"id":113372119,"uuid":"120651204","full_name":"varunu28/git-saviors","owner":"varunu28","description":"Commands which help me to navigate around git","archived":false,"fork":false,"pushed_at":"2019-02-19T16:50:45.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-11T01:31:54.473Z","etag":null,"topics":["git","github"],"latest_commit_sha":null,"homepage":null,"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/varunu28.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":"2018-02-07T18:01:13.000Z","updated_at":"2025-08-27T08:22:32.000Z","dependencies_parsed_at":"2023-06-15T11:30:21.325Z","dependency_job_id":null,"html_url":"https://github.com/varunu28/git-saviors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/varunu28/git-saviors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunu28%2Fgit-saviors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunu28%2Fgit-saviors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunu28%2Fgit-saviors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunu28%2Fgit-saviors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varunu28","download_url":"https://codeload.github.com/varunu28/git-saviors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunu28%2Fgit-saviors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33006745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"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":["git","github"],"created_at":"2024-11-08T19:40:40.665Z","updated_at":"2026-05-14T01:39:49.831Z","avatar_url":"https://github.com/varunu28.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-saviors\nCommands which help me to navigate around git\n\n#### Check the history log for git\n```\ngit reflog\n```\n\n#### Set sublime(or your favorite text editor) as default text editor for editing commits\n```\ngit config --global core.editor \"subl -n -w\"\n```\n\n#### Check the history log with timestamp\n```\ngit reflog --date=iso\n```\n\n#### Undo a rebase/squash \n```\ngit reset --hard HEAD@{N}\n\nReplace N with the log number as shown in reflog\n```\n\n#### Shows a clear description of all the commits in a git repository\n```\ngit log --pretty=oneline\n```\n\n#### Rebase to master and get the forked repo in sync from local\n```\ngit pull --rebase main master\ngit push -f\n```\n\n#### Messed Up and want to revert the commit\n```\ngit reset --soft HEAD^ (If you want to keep the changes on local)\ngit reset --hard HEAD^ (Messed up big time \u0026 don't care about the changes)\n```\n\n#### Maven commands (Specific to checkstyle project)\n```\nmvn -Passembly -Dmaven.test.skip=true package\nmvn verify\n```\n\n#### Clone a particular branch\n```\ngit clone --single-branch --branch \u003cBRANCH_NAME\u003e \u003cREPO_URL\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunu28%2Fgit-saviors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarunu28%2Fgit-saviors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunu28%2Fgit-saviors/lists"}