Giter Site home page Giter Site logo

hello-git's Introduction

Terms

  1. Repository (remote & local):
  2. Branch (remote & local)
  3. checkout, diff, tags and commit
  4. clone, push and pull
  5. merge, rebase, apply patch

Workflow

Git Workflow

example

  1. [incase of doubt use git status]
  2. git clone [email protected]:amitmh/hello-git.git
  3. [a] checkout -b branch-name
  4. [b] do your changes; say in README.md
  5. [a] git status should give you modified file name
  6. [b] git diff README.md this will give you changes with respect to master.
  7. [c] git add README.md
  8. $git commit -am 'add this comment'
  9. $git push --set-upstream origin branch-name this will upload changes to remote
  10. [a] to merge changes in master raise pull request or
  11. [b][1] git checkout master
  12. [b][2] git merge feature
  13. [b][3] git push

hello-git's People

Contributors

amitmh avatar

Watchers

James Cloos 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.