{"id":19472563,"url":"https://github.com/shenon69/introduction-to-github-foss","last_synced_at":"2025-04-25T12:31:24.313Z","repository":{"id":198048220,"uuid":"699963518","full_name":"Shenon69/introduction-to-github-foss","owner":"Shenon69","description":"Introduction to GitHub by the FOSS community in NSBM.","archived":false,"fork":false,"pushed_at":"2023-10-04T07:41:54.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":34,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T21:51:12.641Z","etag":null,"topics":["foss","fossnsbm","github"],"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/Shenon69.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":"2023-10-03T17:19:03.000Z","updated_at":"2023-10-27T14:05:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"30096dde-5bb0-44f9-abad-67dfe4f528c4","html_url":"https://github.com/Shenon69/introduction-to-github-foss","commit_stats":null,"previous_names":["shenon69/introduction-to-github","shenon69/introduction-to-github-foss"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shenon69%2Fintroduction-to-github-foss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shenon69%2Fintroduction-to-github-foss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shenon69%2Fintroduction-to-github-foss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shenon69%2Fintroduction-to-github-foss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shenon69","download_url":"https://codeload.github.com/Shenon69/introduction-to-github-foss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250817635,"owners_count":21492188,"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":["foss","fossnsbm","github"],"created_at":"2024-11-10T19:14:57.477Z","updated_at":"2025-04-25T12:31:24.013Z","avatar_url":"https://github.com/Shenon69.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome\n\n# introduction-to-github\n\n## Install Git on Your Local Machine\n\nTo install Git on your local computer, you need to [visit this link](https://git-scm.com/downloads).\n\n\u003e It's easy to install Git on Mac/Linux than Windows 😒\n\n\u003cbr/\u003e\n1. Go to a Directory that you need to clone your Repository\n   \n\u003e Ex: `D:\\React`\n\u003cbr/\u003e\n2. Right click \u0026 open `Git bash here` if you are a *Windows* user or Open `Terminal` if you are a *Mac/Linux* user in that directory location.\n\u003cbr/\u003e\n\u003cbr/\u003e\n3. Type this command on it\n\n```bash\ngit clone \u003cYour-Repository-Url\u003e\n```\n\n\n\u003cbr/\u003e\n\nYou can find *Repository URL* from the top of the repository\n\n\n\n\n\u003e If you get any error while cloning the repo, please read this [Stack Overflow Forum](https://stackoverflow.com/questions/68775869/message-support-for-password-authentication-was-removed-please-use-a-personal)\n\n\n# SetUp Git\n\n\n\n**Download Git**: \n\n![Logo](https://git-scm.com/images/logo@2x.png)\n\n- Download [git for Windows](https://github.com/git-for-windows/git/releases/download/v2.40.1.windows.1/Git-2.40.1-64-bit.exe).\n- Download [git for Mac](https://git-scm.com/download/mac).\n- Download [git for Linux \u0026 Unix](https://git-scm.com/download/linux).\n\n## Git Configuration\n\n```bash\ngit config --global user.name \"John Doe\"\n```\n```bash\ngit config --global user.email johndoe@example.com\n```\n\nSo, let's get started!\n## Git Commands\n\nThis command is used to obtain a repository from an existing URL.\n\n```bash\nGit clone \u003crepository url\u003e\n\n```\nOpen repository in local storage\n\n```bash\nCd \u003crepository name\u003e\n\n```\nCheckout a branch into your working tree\n\n\n```bash\nGit checkout -b name\n\n```\n```bash\ngit checkout branchname\n\n```\nList down branches\n\n```bash\ngit branch\n\n```\nThis command lists all the files that have to be committed.\n\n\n```bash\ngit status\n\n```\nThis command adds a file to the staging area.\n\n\n```bash\ngit add .\n\n```\nThis command records or snapshots the file permanently in the version history.\n\n\n```bash\ngit commit -m 'commit message'\n\n```\n\nThis command sends the committed changes of master branch to your remote repository.\n```bash\ngit push\n\n```\n - if we create a branch locally\n  ```bash\ngit push --set-upstream origin \u003cbranch name\u003e\n\n```\nThis command is used to list the version history for the current branch.\n\n\n```bash\ngit log\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshenon69%2Fintroduction-to-github-foss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshenon69%2Fintroduction-to-github-foss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshenon69%2Fintroduction-to-github-foss/lists"}