{"id":18146618,"url":"https://github.com/sanjarzayniev/git-demo","last_synced_at":"2025-04-06T20:45:45.998Z","repository":{"id":167354649,"uuid":"642950956","full_name":"sanjarzayniev/git-demo","owner":"sanjarzayniev","description":"My Notes about GIT","archived":false,"fork":false,"pushed_at":"2023-10-22T09:59:37.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-13T02:48:04.626Z","etag":null,"topics":["git","notes"],"latest_commit_sha":null,"homepage":"","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/sanjarzayniev.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-05-19T18:14:23.000Z","updated_at":"2023-05-19T19:37:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4410a58-c7f0-493e-bb36-7f9b00c47fde","html_url":"https://github.com/sanjarzayniev/git-demo","commit_stats":null,"previous_names":["sanjarzayniev/git-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjarzayniev%2Fgit-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjarzayniev%2Fgit-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjarzayniev%2Fgit-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanjarzayniev%2Fgit-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanjarzayniev","download_url":"https://codeload.github.com/sanjarzayniev/git-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247550642,"owners_count":20956984,"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","notes"],"created_at":"2024-11-01T21:08:31.331Z","updated_at":"2025-04-06T20:45:45.962Z","avatar_url":"https://github.com/sanjarzayniev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# **My Notes**\n\n![Banner](./banner.png)\n\n\u003chr\u003e\n\n## Generating SSH keys\n\n```sh\nssh-keygen\n# press enter, enter ...\n```\n\n\u003e **NOTE:** \n\u003e `id_rsa` (private key), `ida_rsa.pub` (public key)\n\nAfter this: \n* Go to the github settings page.\n* Navigate through **SSH and GPG keys** section.\n* Click `Add new SSH key` (or like) button.\n* Then paste contents of `ida_rsa.pub` file.\n\n\u003e **NOTE:** \n\u003e You can get it by `cat ~/.ssh/id_rsa.pub`\n\n* Then save, and clone your repositories.\n\n## Cloning git repo\n\n```sh\ngit clone username/repository\n# via SSH\ngit clone git@github.com:sanjarzayniev/git-demo.git\n```\n\n## Useful Git Commands\n\nSee what files added/modified and deleted.\n```sh\ngit status \n```\n\nAdd changes, e.g You created file named `main.cpp` and you wanna add it.\n\n```sh\ngit add main.cpp\n```\n\nOr you made some changes on `README.md`, and you wanna update it.\n\n```sh\ngit add README.md\n```\n\nOr you want to add ALL FILES.\n\n```sh\ngit add .\n```\n\nThen, I may prepare your changes to PUSH github.\n\n```sh\ngit commit -m \"what kind of updates you made\" \n# -m message\n```\n\n\u003e **WARNING**\n\u003e Do not write commit messages like \"Update, Add, Some ...\". Write meaningful commit messages, it helps you to move through your changes.\n\n\nThen **PUSH** all of your changes:\n\n```sh\ngit push\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjarzayniev%2Fgit-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanjarzayniev%2Fgit-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanjarzayniev%2Fgit-demo/lists"}