Skip to content

Qing-zhan/my-leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

my-leetcode

A collection of my leetcode solutions written in C++, preparing for the future. You must do what you want to do, to become the man you want to be.

  1. create a new repository on the command line echo "# anotherRepo" >> README.md git init git add README.md git commit -m "first commit" git remote add origin [email protected]:Qing-zhan/anotherRepo.git git push -u origin master

  2. push an existing repository from the command line git remote add origin [email protected]:Qing-zhan/anotherRepo.git git push -u origin master

Note: In "git remote add origin [email protected]:Qing-zhan/anotherRepo.git", origin can be any name, which denotes the remote repo branch name. For example, the name can be specified as sasaki, then the remote branch on github is sasaki. The local branch (main branch) is master by default.

  1. Take-aways for commit git status #check current status git add . #add current modifications git commit -m "info" #commit changes added by previous step git -u origin master #push work repo to remote repo in github

About

A collection of my leetcode solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published