Git_Guide
Git_Guide
Table of Contents:
1. Introduction to Git
2. Core Concepts
- Repository
- Commits
- Branches
- Tags
- Interactive Rebase
- Bisect
- Cherry-pick
- Stashing
5. GitHub Workflows
- Managing Releases
- Comparing Versions
8. Useful Resources
---
1. Introduction to Git
Git is a distributed version control system designed to handle projects of any size with speed and efficiency
---
2. Core Concepts
Repository:
A repository (repo) is a container for your project. It holds all the files, history, branches, and metadata rela
Commits:
Commits are snapshots of your project. Each commit represents a set of changes, tracked with a unique id
Branches:
Branches allow parallel development. The main branch (formerly master) is typically the production-ready b
Tags:
Tags are references to specific commits, often used for marking release versions (e.g., v1.0).
---
---
Interactive Rebase:
Bisect:
Cherry-pick:
Stashing:
`git stash`
---
5. GitHub Workflows
Managing Releases:
Comparing Versions:
Branch Management:
---
2. Set Permissions:
- Ensure the directory is read-only for the users: `chmod -R 755 /path/to/share`
3. Automate Updates:
- Add a cron job to sync the latest updates to the shared directory.
---
Setup Commands:
Branch Commands:
Remote Commands:
---
8. Useful Resources: