Giter Site home page Giter Site logo

git-basics's Introduction

git-basics

A repo for collaboratively learning the basics of Git + Github

what do you think about putting some high level topics here?
I'll take a stab but we can obviously do other thing here too.

Conceptual

  • why and how should we use git for personal code use?
  • how does this differ from collaborative use?

Practice

  • What are some good ideas about how to incorporate this tool into our routines?

Basics

  1. What's the difference between git fetch and git pull?
  2. git remote
  3. git checkout
  4. git add
  5. git push
  6. git pull
  7. git fetch
  8. git diff
  9. what else??

Articles

This one is about how to use fetch and how can we tell if our branch is up-to-date. Definitley ✴️ read this one!!!

Adventure time

Make your own fork! 🔥I used the browser then added a remote to my laptop with this🔥

git remote add origin_personal https://github.com/AndrewDHill/git-basics
git remote -v

Credentials

To store your password locally for a repo on your machine

git config credential.helper store

TO store your password globally on your machine

git config --global credential.helper store

It also helps to use the .gitconfig feature so that authoring information is readily available

git config --global user.name "Booly Boo"
git config --global user.email "[email protected]"

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.