Skip to content

A complete list of C++ source codes including Data Structures and Algorithms helpful for interviews etc.

License

Notifications You must be signed in to change notification settings

NishkarshRaj/CPP-Reference

Repository files navigation

C++ Handbook

How to Collaborate:

  1. Fork the repository to your own GitHub account.

  2. Clone the repository to your local machine

$ git clone "https://www.github.com/{Username}/CPP-Reference.git"

where username is your GitHub account username.

  1. Create a branch where you can do your local work. Never work on master branch as we do not allow master commits except by admins.
$ git branch {branchname}
$ git checkout branchname
  1. Do your work and stage your changes.
$ git add <filename>
  1. Commit you changes with a commit message containing your name, file(s) worked upon, changes added.
$ git commit -m "Name| files| Changes"
  1. Push changes to your forked repository
$ git push -u origin branchname

Synchronize forked repository with Upstream repository

  1. Create upstream as our repository
$ git remote add upstream "https://www.github.com/NishkarshRaj/CPP-Reference.git"
  1. Fetch upstream changes in local machine
$ git fetch upstream
  1. Switch to master branch
$ git checkout master
  1. Merge changes in local machine
$ git merge upstream/master
  1. Push changes to your forked GitHub repository
$ git push -f origin master

About

A complete list of C++ source codes including Data Structures and Algorithms helpful for interviews etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published