Code Monkey home page Code Monkey logo

github-practise's Introduction

Story2

Learning Git and Github github practise

Dont create readme at the start

git init git status git add . (if you have added something in the staging area by mistake, you can remove them by: git rm --cached -r . ) git status git commit git log repeat untill done git diff to see changes git checkout to revert bacck

git remote add origin //if remote already exists git remote remove origin

git push -u origin master enter personal access tolen

.gitignore (just write the names of the files to be ignored like secrets.txt and .DS-Store but in separate lines. also use # for comments and * for ignoring all files for the same type{ like *txt will ignore all txt files})

git clone

git branch (to make a new branch) git branch (to check all the existing branches, also asterisk * shows the current branch) git checkout (to switch branch to new branch) in this new branch make your changes if you are satisfied with your changes, switch back to main branch and git merge

now to work on someone else' repo, fork it and work on it and then make a pull request

github-practise's People

Contributors

abhigyan-mohanta avatar thunderberg avatar

Watchers

 avatar

Forkers

thunderberg

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.