Skip to content

Vikrantsingh22/learn-git1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learn-git

This repo is to teach git . >.<

Git and GitHub Tutorial Repository

Welcome to our Git and GitHub tutorial repository! In this guide, you'll learn the basics of using Git for version control and GitHub for collaboration. Whether you're new to version control or want to improve your skills, this guide is here to help you.

Table of Contents

Introduction

Version control is a crucial skill for software development, allowing you to track changes to your code, collaborate with others, and revert to previous versions. GitHub is a platform built around Git that makes it easy to collaborate and share your work.

Getting Started

  1. Install Git on your machine.
  2. Create a GitHub account if you don't have one.

Basic Git Commands

  • git init: Initialize a new Git repository.
  • git clone <repository-url>: Clone a repository from GitHub.
  • git add <file>: Stage changes for commit.
  • git commit -m "commit message": Commit staged changes.
  • git push origin <branch-name>: Push changes to a remote repository.
  • git pull origin <branch-name>: Pull changes from a remote repository.
  • git status: View the status of your working directory.

Creating Pull Requests

  1. Fork the repository on GitHub.
  2. Clone your forked repository to your local machine.
  3. Create a new branch for your changes.
  4. Make and commit your changes.
  5. Push your changes to your forked repository.
  6. Create a pull request from your branch to the original repository.

pr template

Description

[FIXED]ALL the errors of texts of all pages i.e index-page and 13 other pages and dark mode button fixed at all pages using only bootstrap classes no new style class made .

Fixes

fixes #14

Checklist

  • Only bootstrap used works best in dark and light mode
  • darkmode button padding fixed checked at mobile view
  • all 14 pages fixed

NOTE

  • important things
  • thing 2

Feel free to contribute to this tutorial by creating pull requests and suggesting improvements! _ (make a pull request with a folder of ur name or something more fun ) and star the repository 🙏

Collaborating with Others

  • Add collaborators to your repository in the "Settings" tab.
  • Use issues to track and discuss tasks.
  • Review and comment on pull requests to provide feedback.
  • Merge pull requests once changes are approved.

Advanced Topics

  • Branching and merging strategies.
  • Resolving merge conflicts.
  • Git branching models (Gitflow, GitHub Flow).
  • Working with remote branches.

Additional Resources

whatsarepo

In GitHub, a repository (often referred to as a "repo") is a central location where you can store and manage your project's source code, files, and resources. It's a place where you can collaborate with others, track changes to your codebase, and manage different versions of your software.

A repository on GitHub typically includes:

  1. Source Code: The main content of a repository is your source code. This is where you store the files and directories that make up your software project.

  2. Version Control: GitHub repositories use a version control system, primarily Git. Version control allows you to track changes to your code over time, collaborate with others without conflicts, and easily revert to previous versions if needed.

  3. History: Git keeps a detailed history of changes made to your codebase, including who made the changes and when. This helps you understand the evolution of your project.

  4. Issues and Pull Requests: GitHub provides tools for collaboration. You can create issues to track tasks, bugs, or enhancements. Pull requests (PRs) allow you to propose changes to the codebase and collaborate with others to review and merge those changes.

  5. Collaboration: Multiple people can collaborate on a single repository. You can grant different levels of access to collaborators (read, write, or admin) to control who can make changes.

  6. Branching: Repositories allow you to work on different branches, which are separate lines of development. This is useful for developing new features or fixing bugs without affecting the main codebase.

  7. Readme and Documentation: You can provide information about your project using a README file in your repository. It's common practice to include instructions on how to use your software, its purpose, and any other relevant details.

  8. License: You can choose a license for your repository to specify how others can use and distribute your code.

GitHub repositories serve as a central hub for collaboration and development within the GitHub ecosystem. They are widely used for open-source and private projects alike, allowing developers to work together efficiently and manage the complexities of software development.

About

This repo is to teach git . >.<

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%