Giter Club home page Giter Club logo

git-memo's Introduction

Git-Memo

Every Things About Git:

This is collections about git commandes and github while you create your own repo!

Step 1 : Initialisation

  1. On Github, Creat a repo nammed Your-repo-name.
  2. creat a file README.md.
  3. In markdown, give a title using the markedown language.
  4. By CMD or terminal type un git clone command to clone the repo to your pc.
  5. Creat a branch via git branch "nameBranch" commande.
  6. To go to the new branch use git`checkout branchName´ .
  7. Add somethings on your README.md file using markdown language.
  8. Do git add . to add all modifications that you have made.
  9. Do git commit . to commit all modifications that you have made.
  10. Do git push origin branchName . to push all modifications that you have made on your new branch.
  11. On github invite your collaborators .

Step 2 collaborations

  1. Go to the repo that you have invited.
  2. By CMD or terminal type un git clone command to clone the repo to your pc.
  3. Do git branch -a to show all branchs.
  4. Do git pull branchName to update the branch that you want
  5. To go to the new branch use git`checkout branchName´ .
  6. From your new brach creat a second new branch
  7. Add some modifications on the second branch
  8. Do git add . to add all modifications that you have made.
  9. Do git commit . to commit all modifications that you have made.
  10. Do git push origin branchName . to push all modifications that you have made on your new branch.
  11. Do git `merge secondBranch´ from the first oone.
  12. Do git push origin firstOne to push all modifications that you have made on your new branch.
  13. Do git tag tagName from master branch.

sources

Git workflow

git-memo's People

Contributors

yousefalsatouf avatar

Watchers

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