TestingDocs.com
    Software Testing website
    • Automation
      • Selenium
      • JBehave Framework
    • Tutorials
      • MySQL Tutorials
      • Testlink
      • Maven
      • Git
    • IDEs
      • IntelliJ IDEA
      • Eclipse
    • Flowcharts
      • Flowgorithm
      • Raptor
    • About

    Git

    Create a new Git Repository

    Git Tutorials

    Overview

    Repositories are like directories that hold the project files. We can create a new repository on both the GitHub website and on local machine using the Git command-line client. Let’s create a new repository using the git command line.

    GitHub Repository

    https://www.testingdocs.com/questions/how-to-create-a-repository-on-github/

    New Git Repository

    Steps to create a new repository are as follows

    • Launch the Git command-line tool
    • ( https://www.testingdocs.com/installing-git-on-windows-10/)
    • Create a new project directory.
    • Issue git init command to initialize the repository.

    new Git Repository

     

    git init

    git init command creates a .git folder within the project directory. For example, in the above case:

    ~\testingdocs\SampleProject\.git

    This directory has the information to track the changes to the project. Sample .git folder on Windows machine would like as shown:

     

    .git Folder Sample Windows

     

    Common error

    https://www.testingdocs.com/questions/how-to-fix-fatal-not-a-git-repository-error/

     

    Git Tutorials on this website:

    https://www.testingdocs.com/git-tutorials/

    More information on Git, official website:

    https://git-scm.com/

     

     

    Related Posts

    branching

    Git /

    What is Branching?

    Git Install on Linux

    Git /

    Install Git on Ubuntu Linux

    Version_Control_Centralized

    Git /

    Overview of Version Control Systems

    Git Website

    Git /

    Getting Started with Git Version Control

    Install Git on Windows 10

    Git /

    Install Git on Windows 10

    ‹ Clone an existing Git Repository› Set Up Git Bash On Windows 10

    Recent Posts

    • ChatGPT Plans Free and PlusChatGPT Subscription Plans
    • Stellar Converter for Database ToolStellar Converter for Database
    • Stellar MySQL Log AnalyzerStellar Log Analyzer for MySQL
    • Stellar Repair for MySQLStellar Repair for MySQL
    • ChatGPT IntroductionChatGPT Capabilities
    • How to secure your SQL Database: Tips and Tricks
    • ChatGPT4 Conversational AI FeaturesChatGPT4 Conversational AI Features
    • Trends in Software EngineeringShaping the Future of Development: Exploring Key Trends in Software Engineering
    • Java PerformanceImproving Java Performance with Multithreading
    • QDrant Vector DatabaseOpen-source Vector Databases
    • Difference between PHP and JavaScript?
    • Bing AI Browser Web ContentBing Conversation Styles
    • ChatGPT PreviewChatGPT Introduction
    • Open Source AI Frameworks TensorFlowOpen Source AI Frameworks
    • Artificial Intelligence Tools

    Back to Top

    Links

    • Contact
    • Privacy Policy
    • Cookie Policy

    www.TestingDocs.com