GIT AND GITHUB
AAKRITI BLOGS

GIT AND GITHUB

Git:

  • What it does: Helps developers keep track of changes in their code.
  • Where it's used: On your computer, locally.
  • Key Actions:
  • Commit: Save changes to your code.
  • Branch: Work on different features or fixes at the same time.
  • Merge: Combine changes from different branches.

GitHub:

  • What it does: Stores your code online and adds collaboration tools.
  • Where it's used: On the internet, as a website.
  • Key Actions:
  • Push: Send your local code to GitHub.
  • Pull Request: Propose changes to others' code

Analogy:

  1. Git is like your local notebook where you write down changes to your story.
  2. GitHub is like a library where you store your notebook, and others can read, suggest edits, or even write their own stories based on yours.




Creating a GitHub Account:

Open your web browser and go to the GitHub website: https://github.com/.

Setup GIT :

  1. Download Git:Visit the official Git website: https://git-scm.com/download/winClick on the "64-bit Git for Windows Setup" link to download the installer.
  2. Run the Installer:Run the downloaded installer.Follow the installation steps, leaving the default options selected unless you have specific preferences.
  3. Verify Git Installation:To verify that Git is installed and configured correctly, run the following command in the terminal or Git Bashgit --version
  4. Configure Git:Open the Git Bash application (installed with Git).Configurer Git username and email:git config --global user.name "aakriti26"git config --global user.email "[email protected]"


要查看或添加评论,请登录

Aakriti Saxena的更多文章

  • ??Time Complexity Game

    ??Time Complexity Game

    Ever wondered why some code runs super fast, while some take forever? ?? The answer lies in Time Complexity – a way to…

  • A Beginner’s Guide to If, Else, While, Continue, and Break”

    A Beginner’s Guide to If, Else, While, Continue, and Break”

    Control flow in programming is crucial! It helps us decide what to do based on conditions, repeat tasks, or even stop…

    1 条评论
  • Authentication Tokens: Key TIPS!

    Authentication Tokens: Key TIPS!

    https://lnkd.in/dgfwhZhE 1.

  • Authentication & Authorization: Key Tips!

    Authentication & Authorization: Key Tips!

    Ever wondered how secure systems keep your data safe? Ever been to a crowded pub and wondered how they decide who gets…

  • KUBERNETES THE BOSS!

    KUBERNETES THE BOSS!

    You (App Owner): You have an app you want to run in your Kubernetes town. Step 1: Tell the Boss (API Server): You tell…

    1 条评论
  • GitHub-Jenkins :<With webhook spice

    GitHub-Jenkins :<With webhook spice

    Webhooks: The Messenger Notification: Think of a webhook code messenger. When somethinghappens in GitHub, like a coder…

  • WEBHOOK

    WEBHOOK

    A webhook is like a messenger for the internet. It's a way for one application to send real-time data to another…

    2 条评论
  • Local Repo Connect to a Remote Repository:

    Local Repo Connect to a Remote Repository:

    Step 1: Create a new directory mkdir my-first-git-project This command creates a new directory named…

    4 条评论
  • Understanding Git: The First Step - git init

    Understanding Git: The First Step - git init

    To begin using Git , the first step is to initialize it in your project directory. Why this initialization process is…

  • GIT KEY TERMS

    GIT KEY TERMS

    Repository: What is it? A repository, or "repo," is like a special folder where Git keeps track of everything in your…

社区洞察

其他会员也浏览了