{"id":18682586,"url":"https://github.com/singhofen/git-tutorial-test-repo","last_synced_at":"2025-11-07T17:30:31.751Z","repository":{"id":143425043,"uuid":"141059628","full_name":"singhofen/git-Tutorial-Test-repo","owner":"singhofen","description":"Sample app for git tutorial","archived":false,"fork":false,"pushed_at":"2018-08-11T16:25:12.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-27T23:10:42.552Z","etag":null,"topics":["git","git-sandbox","gitbash","gitpractice","gitpull","gitpush","gitsandbox","sandbox"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/singhofen.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-07-15T21:27:52.000Z","updated_at":"2018-08-11T16:25:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd8265de-2b42-4d9a-a631-228a44044402","html_url":"https://github.com/singhofen/git-Tutorial-Test-repo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhofen%2Fgit-Tutorial-Test-repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhofen%2Fgit-Tutorial-Test-repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhofen%2Fgit-Tutorial-Test-repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhofen%2Fgit-Tutorial-Test-repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/singhofen","download_url":"https://codeload.github.com/singhofen/git-Tutorial-Test-repo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239533355,"owners_count":19654675,"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","git-sandbox","gitbash","gitpractice","gitpull","gitpush","gitsandbox","sandbox"],"created_at":"2024-11-07T10:12:23.856Z","updated_at":"2025-11-07T17:30:31.720Z","avatar_url":"https://github.com/singhofen.png","language":"HTML","readme":"# Sandbox git repo / My test git repo.\nthis is a test repo for practice with push/pull/clone ect.. with gitbash. \n\nanyone is free to practice git with this repo PR's will all be accepted. \n\n*************************************************\nAdding directions and bash terminal \"info/output\"\n**************************************************\n # ProTip! Use the URL for this page when adding GitHub as a remote.\n\n***********************************************\nhelpful links if you have problems pushing code\nanswers to ERRORS i encountered \n\n*********************************************************\n# Some other helpful commands\necho \"# git-Tutorial-repo\" \u003e\u003e README.md\ngit init\ngit add README.md\ngit commit -m \"first commit\"\ngit remote add origin \u003curl\u003e\ngit push -u origin master\n OR\ngit remote add origin https://github.com/singhofen/git-Tutorial-repo.git\ngit push -u origin master\n\n********************************************************************\nhttps://stackoverflow.com/questions/20939648/issue-pushing-new-code-in-github\n\nhttps://github.com/rtyley/bfg-repo-cleaner/issues/29\n\nhttps://stackoverflow.com/questions/24357108/git-updates-were-rejected-because-the-remote-contains-work-that-you-do-not-have/43574620\n\n# Quick git instructions\n1. Download zip repo\n2. right click on project open via gitbash here\n3. make any changes you wish to the project\n4. git status to veiw midified files\n5. git add . (all) or name of specific file\n6. git commit -m 'message to github'\n7. git push\n\n*************************************************\n# Creating new branch ~ sample terminal ~ what you may see on you local machine.\nDont push your newly created branch to master unsless you are done with changes and making files for current project\n\n$ git checkout -b testBranch\nSwitched to a new branch 'testBranch'\n\n$ touch testBranch.html\n\n$ git status\nOn branch testBranch\nUntracked files:\n  (use \"git add \u003cfile\u003e...\" to include in what will be committed)\n\n        testBranch.html\n\nnothing added to commit but untracked files present (use \"git add\" to track)\n\n$ git add testBranch.html\n\n$ git status\nOn branch testBranch\nChanges to be committed:\n  (use \"git reset HEAD \u003cfile\u003e...\" to unstage)\n\n        new file:   testBranch.html\n\n$ git commit -m 'added test branch'\n[testBranch 7b2a1a9] added test branch\n 1 file changed, 26 insertions(+)\n create mode 100644 testBranch.html\n\n$ git status\nOn branch testBranch\nnothing to commit, working tree clean\n\n$ git push\nfatal: The current branch testBranch has no upstream branch.\nTo push the current branch and set the remote as upstream, use\n\n    git push --set-upstream origin testBranch\n\n$ git push --set-upstream origin testBranch\n\n$ git status\nOn branch testBranch\nYour branch is up-to-date with 'origin/testBranch'.\n\n$ touch test.txt\n\n$ git status\nOn branch testBranch\nYour branch is up-to-date with 'origin/testBranch'.\n\nUntracked files:\n  (use \"git add \u003cfile\u003e...\" to include in what will be committed)\n\n        test.txt\n\nnothing added to commit but untracked files present (use \"git add\" to track)\n\n$ git add .\n\n$ git status\nOn branch testBranch\nYour branch is up-to-date with 'origin/testBranch'.\n\nChanges to be committed:\n  (use \"git reset HEAD \u003cfile\u003e...\" to unstage)\n\n        new file:   test.txt\n\n$ git commit -m 'added test txt file'\n[testBranch c5c7f1c] added test txt file\n 1 file changed, 5 insertions(+)\n create mode 100644 test.txt\n\n$ git push\n\n$ git checkout master\nSwitched to branch 'master'\nYour branch is up-to-date with 'origin/master'.\n\n$ git status\nOn branch master\nYour branch is up-to-date with 'origin/master'.\n\nnothing to commit, working tree clean\n\n\n**************************************************\n$ git push -f origin master \u003c--will force push to github but may lose all previous files\n\n# below is a sample list of instructions/commands used for gitflow. You can use it as a snapshot of what is to be expected I/O.\n\n*****************************************\n$ touch README.md\n\n$ git add .\n\n$ git status\nOn branch master\nChanges to be committed:\n  (use \"git reset HEAD \u003cfile\u003e...\" to unstage)\n\n        new file:   README.md\n\n$ git commit -m 'edited readme'\n[master 95d7c99] edited readme\n 1 file changed, 4 insertions(+)\n create mode 100644 README.md\n\n$ git push\nfatal: The current branch master has no upstream branch.\nTo push the current branch and set the remote as upstream, use\n\n    git push --set-upstream origin master\n\n$ git push --set-upstream origin master\nfatal: HttpRequestException encountered.\n   \n\n$ git pull\nAlready up-to-date.\n\n$ touch git-test.html\n\n$ git status\nOn branch master\nYour branch is up-to-date with 'origin/master'.\n\nUntracked files:\n  (use \"git add \u003cfile\u003e...\" to include in what will be committed)\n\n        git-test.html\n\nnothing added to commit but untracked files present (use \"git add\" to track)\n\n$ git add .\n\n$ git status\nOn branch master\nYour branch is up-to-date with 'origin/master'.\n\nChanges to be committed:\n  (use \"git reset HEAD \u003cfile\u003e...\" to unstage)\n\n        new file:   git-test.html\n$ git commit -m 'added git test file'\n[master 72d8ea2] added git test file\n 1 file changed, 16 insertions(+)\n create mode 100644 git-test.html\n\n$ git push\n\n$ git status\nOn branch master\nYour branch is up-to-date with 'origin/master'.\n\nChanges not staged for commit:\n  (use \"git add \u003cfile\u003e...\" to update what will be committed)\n  (use \"git checkout -- \u003cfile\u003e...\" to discard changes in working directory)\n\n        modified:   README.md\n\nno changes added to commit (use \"git add\" and/or \"git commit -a\")\n\n$ git commit -m 'edited readme file'\nOn branch master\nYour branch is up-to-date with 'origin/master'.\n\nChanges not staged for commit:\n        modified:   README.md\nno changes added to commit\n\n$ git add .\n\n$ git status\nOn branch master\nYour branch is up-to-date with 'origin/master'.\n\nChanges to be committed:\n  (use \"git reset HEAD \u003cfile\u003e...\" to unstage)\n\n        modified:   README.md\n\n$ git commit -m 'edited readme file'\n[master 2a0bc00] edited readme file\n 1 file changed, 2 insertions(+), 2 deletions(-)\n\n$ git push\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinghofen%2Fgit-tutorial-test-repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinghofen%2Fgit-tutorial-test-repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinghofen%2Fgit-tutorial-test-repo/lists"}