Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › DevOps

Chapter 2: Git, GitHub and Git Bash: मराठी Cards

English cards · Chapter उघडा

उजळणी (Revision) cards

Git का: zip folders vs history. Folders copy केल्याने कोणी काय आणि का बदललं हे हरवतं.
उजळणी (Revision) card 1 of 13: Git का: zip folders vs history · PNG download करा · Card page उघडा

Lesson: 2.1 Why Git — zip folders vs history

Git vs GitHub vs Git Bash. नवीन लोकांना हे तिन्ही एकच वाटतात.
उजळणी (Revision) card 2 of 13: Git vs GitHub vs Git Bash · PNG download करा · Card page उघडा

Lesson: 2.2 Git vs GitHub vs Git Bash

Repository, remote आणि origin. हे शब्द प्रत्येक Git command आणि error मध्ये येतात.
उजळणी (Revision) card 3 of 13: Repository, remote आणि origin · PNG download करा · Card page उघडा

Lesson: 2.3 Repository, remote and origin

Install, check आणि पहिले शब्द. नाव आणि email नसलेले commits अनोळखी दिसतात आणि team गोंधळते.
उजळणी (Revision) card 4 of 13: Install, check आणि पहिले शब्द · PNG download करा · Card page उघडा

Lesson: 2.4 Install check and first vocabulary

init, status, add, commit: पहिला repo. या चार commands म्हणजे रोजच्या Git चं 80%.
उजळणी (Revision) card 5 of 13: init, status, add, commit: पहिला repo · PNG download करा · Card page उघडा

Lesson: 2.5 init, status, add, commit — first repo

Staging area समजून घ्या. सुरुवातीला staging सगळ्यांनाच गोंधळात टाकतो.
उजळणी (Revision) card 6 of 13: Staging area समजून घ्या · PNG download करा · Card page उघडा

Lesson: 2.6 The staging area — mental model

Clone: असलेला repo copy करा. Team वर तुम्ही नवीन नाही, आधीच्या repo पासून सुरू करता.
उजळणी (Revision) card 7 of 13: Clone: असलेला repo copy करा · PNG download करा · Card page उघडा

Lesson: 2.7 clone — copy an existing repo

.gitignore: junk आणि secrets बाहेर. Commit झालेले secrets आणि junk काढणं कठीण आणि leak होऊ शकतात.
उजळणी (Revision) card 8 of 13: .gitignore: junk आणि secrets बाहेर · PNG download करा · Card page उघडा

Lesson: 2.8 .gitignore — keep junk and secrets out

git log: story वाचा. History पटकन वाचता आली तरच उपयोगी.
उजळणी (Revision) card 9 of 13: git log: story वाचा · PNG download करा · Card page उघडा

Lesson: 2.9 git log — read the story

Safe undo: restore आणि amend. घाबरून केलेल्या undo commands काम उडवू शकतात.
उजळणी (Revision) card 10 of 13: Safe undo: restore आणि amend · PNG download करा · Card page उघडा

Lesson: 2.10 Undo safely — restore and amend

Commit message ची स्वच्छता. वाईट messages मुळे history निरुपयोगी.
उजळणी (Revision) card 11 of 13: Commit message ची स्वच्छता · PNG download करा · Card page उघडा

Lesson: 2.11 Commit message hygiene

HTTPS vs SSH आणि git remote -v. Login पद्धत set नसेल तर push fail होतो.
उजळणी (Revision) card 12 of 13: HTTPS vs SSH आणि git remote -v · PNG download करा · Card page उघडा

Lesson: 2.12 HTTPS vs SSH, and git remote -v

Lab: तीन commits आणि एक remote. एकदा पूर्ण केलं की भीती जाते.
उजळणी (Revision) card 13 of 13: Lab: तीन commits आणि एक remote · PNG download करा · Card page उघडा

Lesson: 2.13 Lab — three commits and one remote

मुलाखत (Interview) cards

Folders copy करण्याऐवजी Git का? Git प्रत्येक बदलाची author आणि message सह history ठेवतं, मागे जाता येतं, आणि अनेक लोकांचं काम merge होतं.
मुलाखत (Interview) card 1 of 13: Folders copy करण्याऐवजी Git का? · PNG download करा · Card page उघडा

Lesson: 2.1 Why Git — zip folders vs history

Git vs GitHub? Git तुमच्या machine वरचं version control tool. GitHub pull requests आणि CI सोबत Git repos host करणारी service.
मुलाखत (Interview) card 2 of 13: Git vs GitHub? · PNG download करा · Card page उघडा

Lesson: 2.2 Git vs GitHub vs Git Bash

Git मध्ये origin म्हणजे काय? ज्यावरून clone केलं किंवा आधी add केलं त्या remote चं default नाव, बहुतेक तुमचा GitHub repo.
मुलाखत (Interview) card 3 of 13: Git मध्ये origin म्हणजे काय? · PNG download करा · Card page उघडा

Lesson: 2.3 Repository, remote and origin

Git install केल्यावर लगेच काय set करता? git config ने तुमचं user.name आणि user.email, म्हणजे commits वर कोणी केलं ते दिसेल.
मुलाखत (Interview) card 4 of 13: Git install केल्यावर लगेच काय set करता? · PNG download करा · Card page उघडा

Lesson: 2.4 Install check and first vocabulary

पहिला commit कसा करता ते सांगा. git init, file बनवा, git add करा, मग स्पष्ट message सोबत git commit -m; git status ने check.
मुलाखत (Interview) card 5 of 13: पहिला commit कसा करता ते सांगा. · PNG download करा · Card page उघडा

Lesson: 2.5 init, status, add, commit — first repo

Git मध्ये staging area का आहे? Commit मध्ये नक्की कोणते बदल जातील ते निवडायला, म्हणजे commits छोटे आणि focused राहतात.
मुलाखत (Interview) card 6 of 13: Git मध्ये staging area का आहे? · PNG download करा · Card page उघडा

Lesson: 2.6 The staging area — mental model

clone vs ZIP download? Clone पूर्ण history आणि push/pull साठी remote link देतो. ZIP फक्त files, history नाही.
मुलाखत (Interview) card 7 of 13: clone vs ZIP download? · PNG download करा · Card page उघडा

Lesson: 2.7 clone — copy an existing repo

.gitignore मध्ये काय टाकता? Build outputs, dependencies, logs, local settings आणि .env सारख्या secret files.
मुलाखत (Interview) card 8 of 13: .gitignore मध्ये काय टाकता? · PNG download करा · Card page उघडा

Lesson: 2.8 .gitignore — keep junk and secrets out

एखादी line कधी बदलली ते कसं शोधता? git log -p file प्रत्येक commit चे बदल दाखवतो; git blame file प्रत्येक line चा शेवटचा commit.
मुलाखत (Interview) card 9 of 13: एखादी line कधी बदलली ते कसं शोधता? · PNG download करा · Card page उघडा

Lesson: 2.9 git log — read the story

शेवटच्या commit message मधली typo कशी fix करता? Push केला नसेल तर git commit --amend. Push झाला असेल तर तसाच ठेवा किंवा नवीन commit.
मुलाखत (Interview) card 10 of 13: शेवटच्या commit message मधली typo कशी fix करता? · PNG download करा · Card page उघडा

Lesson: 2.10 Undo safely — restore and amend

चांगला commit message कसा असतो? छोटा imperative summary (~50 chars खाली), मग गरज असल्यास का सांगणारा body; ticket link.
मुलाखत (Interview) card 11 of 13: चांगला commit message कसा असतो? · PNG download करा · Card page उघडा

Lesson: 2.11 Commit message hygiene

Git remotes साठी HTTPS की SSH? दोन्ही चालतात. SSH keys ने token टाइप करावा लागत नाही; HTTPS कडक firewalls मधूनही चालतं. Private key कधीच share करू नका.
मुलाखत (Interview) card 12 of 13: Git remotes साठी HTTPS की SSH? · PNG download करा · Card page उघडा

Lesson: 2.12 HTTPS vs SSH, and git remote -v

आधीचा local repo GitHub वर कसा टाकता? रिकामा GitHub repo बनवा, git remote add origin URL, मग git push -u origin main.
मुलाखत (Interview) card 13 of 13: आधीचा local repo GitHub वर कसा टाकता? · PNG download करा · Card page उघडा

Lesson: 2.13 Lab — three commits and one remote

तुलना (Comparison) cards

Git vs GitHub. Git: PC वरचं tool, project history commits म्हणून ठेवतं.GitHub: Git repos online ठेवणारी website.
तुलना (Comparison) card 1 of 3: Git vs GitHub · PNG download करा · Card page उघडा

Lesson: 2.2 Git vs GitHub vs Git Bash

HTTPS vs SSH (Git remotes). HTTPS: web URL आणि token ने connect.SSH: key pair ने connect (private PC वर, public GitHub वर).
तुलना (Comparison) card 2 of 3: HTTPS vs SSH (Git remotes) · PNG download करा · Card page उघडा

Lesson: 2.12 HTTPS vs SSH, and git remote -v

git clone vs git init. git init: folder मध्ये नवीन रिकामा repo.git clone: असलेला repo history सह copy.
तुलना (Comparison) card 3 of 3: git clone vs git init · PNG download करा · Card page उघडा

Lesson: 2.7 clone — copy an existing repo