{"id":27332290,"url":"https://github.com/hubert-kniola/gittut","last_synced_at":"2025-10-30T13:02:25.133Z","repository":{"id":192676310,"uuid":"298408030","full_name":"hubert-kniola/GitTut","owner":"hubert-kniola","description":"GIT Short Tutorial for University students","archived":false,"fork":false,"pushed_at":"2020-09-25T23:24:57.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-09-05T07:15:18.463Z","etag":null,"topics":["git"],"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/hubert-kniola.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":"2020-09-24T22:22:21.000Z","updated_at":"2023-09-05T07:15:28.746Z","dependencies_parsed_at":null,"dependency_job_id":"b08a6dcc-ea87-4533-8e77-33d98ba58253","html_url":"https://github.com/hubert-kniola/GitTut","commit_stats":null,"previous_names":["hubert-kniola/gittut"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubert-kniola%2FGitTut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubert-kniola%2FGitTut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubert-kniola%2FGitTut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hubert-kniola%2FGitTut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hubert-kniola","download_url":"https://codeload.github.com/hubert-kniola/GitTut/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248576606,"owners_count":21127438,"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"],"created_at":"2025-04-12T13:53:54.242Z","updated_at":"2025-10-30T13:02:25.127Z","avatar_url":"https://github.com/hubert-kniola.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitTut\n## GIT Short Tutorial for University students\n\nBranching + Remote Repository\n\nWe can choose 3 areas:\n```\nworking directory - katalog roboczy\nstage area - przechowalnia\n.git folder - repozytorium\n```\n\n**Main actions:**\n\n                       \nworking directory     -----*git add.*----\u003e    stage area\n             \n  stage area          -----*git commit*----\u003e    .git folder\n                \n  .git folder         -----*git checkout*----\u003e    working directory\n  \n\n**File Status:**\n\nmodified ---*git add*---\u003e staged ---*git commit*---\u003e comitted\n\n**Basic Git commands:**\n```\ngit status - status zmian\ngit add - dodanie pliku na stage, kolejki oczekiwania\ngit commit - dodanie pliku do .git\ngit branch //nazwa// -  nowego rozgałęzienia\ngit branch -D //nazwa// - usuwanie rozgałęzienia\ngit clean - usunięcie plików\ngit clean -n - wyświetlenie plików przed ich usunięciem\ngit clean -nd - wyświetlenie katalogów i plików przed ich usunięciem\ngit clean -idf - usuwanie plikow i katalogow w trybie interaktywnym\ngit reset - przenoszenie plików ze stage do working directory, odwrotność git add\ngit checkout //nazwapliku//- przywrocenie poprzedniej wersji pliku\ngit rm/mv //nazwapliku// - usuwanie/przenoszenie pliku z repozytorium o podanej nazwie\ngit log --oneline - wyświetlenie logów w skondensowanej wersji\ngit log --author=\"...\"\ngit log --oneline --author=\"...\"\ngit log --grep=\"view\"\ngit log --oneline -3\ngit log --oneline -- //nazwapliku//\ngit log --oneline --summary -- //nazwapliku// - skrócona informacja\ngit log --oneline --stat\ngit log --format=\"%h %an %s (%cr)\"\ngit shortlog - historia zmian z podziałem na użytkowników\ngit stash - odłożenie zmian na stos\ngit stash pop - przełożenie zmian ze stosu na wybrane miejsce\ngit stash push -m \"...\" - odłożenie zmian na stos z komentarzem\ngit stash list - lista zmian obecnych na stosie\ngit stash apply - przywracanie zmian do katalogu roboczego i pozostawienie ich na stosie\ngit revert - odwrócenie zmian z wybranego commit'u\ngit log --graph --decorate --all --oneline\ngit merge - łączenie 2 różnych plików\nsubl //nazwa// - modyfikowanie pliku\ngit tag //nazwa// - nadanie tagu\ngit tag - wyświetlenie tagów\ngit show //nazwa// - informację o commicie wskazywanym przez tag\ngit tag //nazwa// -a -m \"...\" - przypisanie informacji o autorze oraz komentarza do wybranego tagu\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubert-kniola%2Fgittut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubert-kniola%2Fgittut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubert-kniola%2Fgittut/lists"}