Skip to content

A practical Git tutorial designed for both students and professionals. This repository provides day-wise content with hands-on examples and essential commands to build foundational and advanced Git skills.

License

Notifications You must be signed in to change notification settings

kala-techies/GitForOps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git for Ops

Welcome to the Git for Ops learning series! This repository will guide you step-by-step through the essential concepts and practices of Git, tailored for operations professionals. Whether you're in DevOps, MLOps, or other related fields, you'll find valuable insights and practical examples for using Git in your workflow. Contributions are welcome! Feel free to fork and create pull requests. Let's learn together!

Project Structure

The tutorial is organized into day-wise folders, each containing:

  • examples.md: Real-world scenarios for practice
  • commands.md: Key Git commands for quick reference

The repository structure is as follows:

Git-for-Ops/
├── day01/
│   ├── examples.md
│   └── commands.md
├── day02/
│   ├── examples.md
│   └── commands.md
├── day03/
│   ├── examples.md
│   └── commands.md
├── day04/
│   ├── examples.md
│   └── commands.md
├── day05/
│   ├── examples.md
│   └── commands.md
├── day06/
│   ├── examples.md
│   └── commands.md
├── CONTRIBUTING.md
├── CODE_OF_CONDUCT.md
└── resources/

Day-wise Content

Day 01: Introduction to Version Control & Installation

  • Core Concepts:
    • What is version control?
    • Importance of version control in software development
    • Centralized vs. Distributed Version Control
    • Git installation on various systems
  • Task: Install Git on your system and configure your first Git repository.

Day 02: Working with Git Repositories

  • Key Concepts:
    • Local vs. Remote Repositories
    • Basic Git architecture
    • Connecting with remote repositories (GitHub, GitLab, etc.)
  • Task: Create a local repository, initialize it, and push it to a remote server.

Day 03: Undoing Changes, Stashing, and Reviewing Changes

  • Core Concepts:
    • Undoing changes in Git
    • Using Git stash to save and restore changes
    • Reviewing changes with git diff, git log
  • Task: Practice undoing local changes and stashing your work.

Day 04: Branching and Merging

  • Core Concepts:
    • Understanding branches and their importance
    • Merging branches and resolving conflicts
    • Undoing merge changes
  • Task: Create a new branch, make changes, merge it back, and resolve merge conflicts.

Day 05: Collaboration & Pull Requests

  • Key Concepts:
    • Understanding pull requests
    • Using issues and discussions in GitHub
    • Code reviews and open-source contributions
  • Task: Fork a repository, create a pull request, and collaborate on a Git project.

Day 06: Best Practices & Review

  • Core Concepts:
    • Git best practices for developers and ops professionals
    • Clean Git workflows
    • Final review and resources for further learning
  • Task: Review your work and practice clean commit histories with detailed messages.

Contributing

If you'd like to contribute:

  1. Fork the repository: Create your own copy of this repo.
  2. Create a feature branch: Run git checkout -b feature/new-topic to create a new branch for your changes.
  3. Commit your changes: Use git commit -am 'Added a new learning day' to commit your changes.
  4. Push to the branch: Run git push origin feature/new-topic to push your changes.
  5. Create a Pull Request: Open a Pull Request to merge your changes into the main branch.

Important Guidelines:

  • Always ensure your changes align with the learning content.
  • Keep your commit messages clear and concise.
  • Follow the code of conduct when interacting with other contributors.

For more details, please refer to the full Contributing Guidelines.

Code of Conduct

We want this community to be welcoming and respectful to all participants. By participating, you agree to uphold the following standards:

  • Be respectful: Treat everyone with respect, kindness, and empathy.
  • Be inclusive: Appreciate the diverse perspectives and backgrounds of others.
  • Be constructive: If providing feedback, focus on being helpful and objective.
  • No harassment: Harassment, bullying, or offensive behavior will not be tolerated.

For more details, please refer to the full Code of Conduct.


About

A practical Git tutorial designed for both students and professionals. This repository provides day-wise content with hands-on examples and essential commands to build foundational and advanced Git skills.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published