Code Monkey home page Code Monkey logo

git-ops's Introduction

git-ops

Question 3

  1. Create a repository in the github image

  2. Upload a text file in github repo. image image

  3. Create a new branch. image

  4. GO to the new branch and Change/add the textfile in line no 3. image

  5. GO to the main branch and Change/add the textfile in line no 3. image

  6. Try to merge it from main. IS it works? or you will get any error. image I got a merge conflict.

  7. If you will get the error how to resolve it? image resolved merge conflict image

  8. Clone this repo in your local folder. image

  9. add some text in the branch text file. image

  10. add it image

  11. commit it image

  12. push it. Do you get any error or it works? image It works. I go no error

Question 1

  1. Create a new Repository in your Laptop. What is the default branch name in your local repository? Default branch is master image image

  2. Add a text file in your local repository. image

  3. Commit it. image

  4. Create another repository in the github. What is the default branch name in your github repository? deafult branch is main image

  5. Add a text file in your local repository. image

  6. Commit it. image

  7. PUSH your local repository to the github. In the github,It will merge with your existing branch or it creates a new branch. image

  8. If we want that it always update the main branch what steps we need to follow? execute command git pull

git-ops's People

Contributors

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