Giter VIP home page Giter VIP logo

test-hub's Introduction

test-hub

This repository is for test purpose

git init

git clone

Edit the file

Save and exit the file

git add

git commit -m ""

git status

git push

For setting user.name and user.email:

git config --global user.name "Your Name"

git config --global user.email "your Email.com"

To see details about username nd useremail

git config --l or --list

Switching remote URLs from HTTPS to SSH:

git remote set-url origin [email protected]/USERNAME/REPOSITORY.git

Why we switch url from HTTPS to SSH

  1. Authentication.
HTTPS requires you to enter your GitHub credentials every time you interact with the remote repository, while SSH uses a private-public key pair for authentication. By using SSH, you don't need to enter your GitHub credentials each time, which can be more convenient and secure.
  1. Speed.
SSH can be faster than HTTPS when interacting with remote repositories, especially for large repositories or when making frequent commits. This is because SSH uses compression and is able to transfer data more efficiently.
  1. Access.
Some Git operations require write access to the remote repository, such as pushing changes. If you are only able to access the repository via HTTPS, you may not have the necessary permissions to perform these operations. By using SSH, you can authenticate with your private-public key pair and have the necessary permissions to perform these operations.

test-hub's People

Contributors

lola1987-hub avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.