GithubHelp home page GithubHelp logo

learngit's Introduction

Git Tutorialsdsd

Create Git Repositordsd

  1. git init
  2. git add filed
  3. git commit -m "your comment"
    

Version Controllsdss

  1. git status
  2.  sxxxxxxxxxx  

Commiter Profiledsd

  1. git config --global user.name "Your Name"
  2. git config --global user.email youremail@example.com
  3.  sxxxxxxxxxx git commit --amend --authdsdsor="yourname<[email protected]>" -m "your comment"

Version Reset

  1. git reset --hard commit_id
  2. git reflog

Restore Amenddsd

  1. git checkout -- file
  2. git reset HEAD file
    ``dsd

dDelete Filesdd

  1. git rm file
  2. git commit -m "Your comment"

Add Remote Git Repositoryds

  1. git remote add origin Your Remote Repository
  2. git push -u origin master

Clone Remote Git Repository

  1. git clone Your Remote Repository

Create And Merge And Delete Brdsdsdsanch

  1. git checkout -b Your Branch
    - git branch Your Branch
    - git checkout Your Branch
  2. git merge Your Branchdd
  3. git checkout -d Your Branchdss
  4. git branch -a
  5. git push origin --delete Your Branch Name

Resolve Merge Conflict

☯️

learngit's People

Contributors

asd1245dss avatar

Watchers

 avatar  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.