{"id":20689311,"url":"https://github.com/csalmeida/learning-git","last_synced_at":"2026-06-04T17:31:14.257Z","repository":{"id":95959322,"uuid":"134303952","full_name":"csalmeida/learning-git","owner":"csalmeida","description":"Learning Git!","archived":false,"fork":false,"pushed_at":"2018-06-03T19:25:01.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T01:55:26.493Z","etag":null,"topics":["git","learning","learning-by-doing"],"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/csalmeida.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-05-21T17:43:21.000Z","updated_at":"2018-06-03T19:21:05.000Z","dependencies_parsed_at":"2023-09-01T14:46:38.586Z","dependency_job_id":null,"html_url":"https://github.com/csalmeida/learning-git","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/csalmeida/learning-git","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csalmeida%2Flearning-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csalmeida%2Flearning-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csalmeida%2Flearning-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csalmeida%2Flearning-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csalmeida","download_url":"https://codeload.github.com/csalmeida/learning-git/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csalmeida%2Flearning-git/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33916319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","learning","learning-by-doing"],"created_at":"2024-11-16T23:09:11.316Z","updated_at":"2026-06-04T17:31:14.226Z","avatar_url":"https://github.com/csalmeida.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learning Git!\n\nLearning how to use Git.\n\nMost used commands:\n- `git status` - tells you what has been updated.\n- `git add filename` - adding a file to staging and Git will start tracking changes.\n- `git commit -m \"message content\"` - registers changes to get ready to upload, a message is also required.\n- `git push` - pushing a file/changes on to Github.\n- `git pull` - do it every time you get back to the project before you make any changes.\n\n\nOther commands:\n- `git diff filename` - see the differences between the working directory and the staging area.\n- `git log` - to refer back or view previous versions.\n\nThe commit you are currently on/latest commit, is known as the HEAD commit.\n- `git show HEAD` - show info and all the file changes that have been committed.\n\nBacktracking:\n- `git checkout HEAD filename` - restore the file to when you last made a commit.\n- `git reset HEAD filename` - removes the file from the staging area if you decide you don't want to commit it.\n- `git reset commit_SHA` - undo a commit, use the first 7 characters if the SHA (hash code) of a previous commit.\n\nBranching:\nHaving different branches allows you to work on multiple versions. Your main branch is known as the 'master' branch.\n- `git branch` - tells you which branch you're on, lists any other branches on your machine.\n- `git branch new_branch` - to create a new branch.\n- `git checkout branch_name` - to switch to another branch.\n\n=======\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsalmeida%2Flearning-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsalmeida%2Flearning-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsalmeida%2Flearning-git/lists"}