Git Product home page Git Product logo

dsa-ls-1's Introduction

image

DSA LS-1

The Document you need before your Submissions.

Read this for your first Pull Requests.

1.Fork the repo in which you are committing the file (See upper Right corner).
2.clone the Repository in youe local System.
3.create a new Branch.
4.Make your changes.
5.Push it back to your repo.
6.Click the Compare & pull request button.
7.Click Create pull request to open a new pull request.

Remember to save your file with (rollno_name_questionno).

(eg. 20191CSE0445_PrakharMishra_ques1),,,,,making sure while committing your file.

Your Important Commands Are here to serve you better!!!

fork: https://github.com/<YourUserName>/dem
clone: git clone https://github.com/<YourUserName>/demo
Branch: git checkout -b new_branch
Use remote to UpStream: git remote add upstream https://github.com/kedark3/demo
Commit to a new_branch?? // Don't Worry you can add up to the main branch to.

Your new branch should be with your roll no: like (cse_xxxx_newbranch).

$ git checkout -b new_branch
Switched to a new branch ‘new_branch’ $ echo “some test file” > test
$ cat test
Some test file
$ git status // to get status on your file
On branch new_branch
No commits yet
Untracked files:
(use "git add ..." to include in what will be committed) test
nothing added to commit but untracked files present (use "git add" to track)
$ git add test
$ git commit -S -m "Adding a test file to new_branch"
[new_branch (root-commit) 4265ec8] Adding a test file to new_branch
1 file changed, 1 insertion(+)
create mode 100644 test
$ git push -u origin new_branch
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 918 bytes | 918.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
Remote: Create a pull request for ‘new_branch’ on GitHub by visiting:
Remote: http://github.com/example/Demo/pull/new/new_branch
Remote:

  • [new branch] new_branch -> new_branch

Refer This Article and youtube video.

Article: https://opensource.com/article/19/7/create-pull-request-github
Video: https://youtu.be/dSl_qnWO104

dsa-ls-1's People

Contributors

sukarnascience avatar prakhar-creator 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.