{"id":22127431,"url":"https://github.com/mementomori11723/learn-git","last_synced_at":"2025-10-12T09:30:50.816Z","repository":{"id":209331947,"uuid":"723450517","full_name":"MementoMori11723/Learn-Git","owner":"MementoMori11723","description":"Here are a few Git (A version control software) commands","archived":false,"fork":false,"pushed_at":"2023-11-26T18:10:18.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T17:45:24.740Z","etag":null,"topics":["git","learning"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/MementoMori11723.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}},"created_at":"2023-11-25T17:52:28.000Z","updated_at":"2024-08-31T04:42:33.000Z","dependencies_parsed_at":"2023-11-26T18:40:46.182Z","dependency_job_id":null,"html_url":"https://github.com/MementoMori11723/Learn-Git","commit_stats":null,"previous_names":["mementomori11723/learn-git"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MementoMori11723%2FLearn-Git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MementoMori11723%2FLearn-Git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MementoMori11723%2FLearn-Git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MementoMori11723%2FLearn-Git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MementoMori11723","download_url":"https://codeload.github.com/MementoMori11723/Learn-Git/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236192307,"owners_count":19110000,"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","learning"],"created_at":"2024-12-01T17:18:45.888Z","updated_at":"2025-10-12T09:30:45.557Z","avatar_url":"https://github.com/MementoMori11723.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git (version control software)\n\n## Commands -\n\n### 1. git init\n\nInitialzes inside a repository with a folder name \".git\" where it stories all the Snapshots of the project.\n\n### 2. git add (names of one or more files)\n\nThis commind adds all the changes made to the repository in \"Staging area\" section from which a snapshot is taken and added to \"commits\" section.\n\n### 3. git status (-s)\n\nShows us the status of git repository (like are there any files that need to be added or not).\n\n-s is used to show short version of what happened to repo.\n\n### 4. git commit (--flages) (\"message\")\n\nHere we create a perminant snapshot of our project to git.\n\n### 5. git ls-files\n\nShows the files in \"Staging area\".\n\n### 6. git rm [file('s) name('s)]\n\nRemoves the files from repository and from \"staging area\".\n\n### 7. git diff\n\nShows the difference between different commits and staging areas\n\n### 8. git log (--oneline)\n\nShows us the log details of the repo.\n\n--oneline shows single line of each commit.\n\n### 9. git show (commit id or referance)\n\nDescribes the changes made in that commit.\n\n### 10. '.gitignore' file\n\nIt is a type of file used for ignoring files that aren't nessary or too large to commit.\n\n### 11. git branch (-c \"name of the branch\")\n\nThis will create a new branch that can be used for testing purpouses!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmementomori11723%2Flearn-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmementomori11723%2Flearn-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmementomori11723%2Flearn-git/lists"}