{"id":22438856,"url":"https://github.com/takbirgazi/important","last_synced_at":"2026-04-08T11:31:18.717Z","repository":{"id":242876716,"uuid":"810816730","full_name":"takbirgazi/important","owner":"takbirgazi","description":"Explore our daily-use code snippets and tools conveniently stored in this repository's README. Dive into practical examples and utilities we rely on regularly","archived":false,"fork":false,"pushed_at":"2025-12-19T06:49:38.000Z","size":99,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T14:24:33.838Z","etag":null,"topics":["cmd","express","git","github","javascript","mysql","node","php","react"],"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/takbirgazi.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-05T12:06:45.000Z","updated_at":"2025-12-19T06:49:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc30bc07-d279-47cb-b759-334ceba66c7e","html_url":"https://github.com/takbirgazi/important","commit_stats":null,"previous_names":["takbirgazi/importent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/takbirgazi/important","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takbirgazi%2Fimportant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takbirgazi%2Fimportant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takbirgazi%2Fimportant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takbirgazi%2Fimportant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takbirgazi","download_url":"https://codeload.github.com/takbirgazi/important/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takbirgazi%2Fimportant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31553992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["cmd","express","git","github","javascript","mysql","node","php","react"],"created_at":"2024-12-06T01:11:55.922Z","updated_at":"2026-04-08T11:31:18.691Z","avatar_url":"https://github.com/takbirgazi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Important Code for daily use\n\n## Git Commands\n\n* Check Git Configuration:\n``` git config --list ```\n* Add user name:\n``` git config --global user.name \"your user name\" ```\n* Add user email:\n``` git config --global user.email \"yourname@email.com\" ```\n* Set a default branch to main:\n``` git config --global init.defaultBranch main ```\n* Add:\n``` git add . ```\n* Reset From Add .:\n``` git reset ```\n* Commit:\n``` git commit -m \"Messages\" ```\n* Push First Time To Main Branch:\n   ``` git push -u origin main ```\n   Next Time:\n   ``` git push ```\n* Remove The Last Commit\n``` git reset --soft HEAD~1 ```\n* Pull Existing Project\n``` git pull ```\n* Pull from Other Branch\n``` git pull origin branchname ```\n* Check Remote Repository\n``` git remote -v ```\n* Add Remote Repository\n```git remote add origin https://github.com/username/repository_name.git```\n* Change Remote Repository\n``` git remote set-url origin https://github.com/username/new_repository_name.git ```\n* Remove Remote Repository\n```git remote remove origin```\n* Push Forcefully Existing Branch like main\n``` git push -f -u origin main ```\n* Check Status:\n``` git status ```\n* Check Status with time:\n```\nfor f in $(git status --porcelain | awk '{print $2}'); do\n  stat -c \"%y %n\" \"$f\"\ndone\n```\n* Check Origin \n``` git remote show origin ```\n* Clone with default branch\n``` git clone https://github.com/username/repository_name.git ```\n* Clone with specific branch\n``` git clone -b branchname https://github.com/username/repository_name.git ```\n* Switch an existing branch\n``` git checkout branchname ```\n* Create and Switch a new branch with the current branch code\n``` git checkout -b newbranchname ```\n* Check branch\n``` git branch ```\n* Delete a branch (safe)\n``` git branch -d branchname ```\n* Delete a branch (force)\n``` git branch -D branchname ```\n* Delete a branch Remote\n``` git push origin --delete branchname ```\n* Remove Untracked Data\n``` git stash ```\n* Branch Merging\n``` git merge branchname ```\n* Remove Director from git\n``` git rm -r directoryname ```\n* Remove .env from git\n``` git rm --cached --ignore-unmatch .env ```\n\n*Find your password to pull your private repository*\n* Log In to Your GitHub Account\n* Go to Profile And Click Settings\n* Click Developer settings\n* Select Tokens (classic) at Personal access tokens\n* Select Generate new token (classic) at Generate new token\n* Check All And Click the Generate token Button.\n* Copy The Token. That is your Password.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakbirgazi%2Fimportant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakbirgazi%2Fimportant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakbirgazi%2Fimportant/lists"}