LeetCode code upload on Github

preview_player
Показать описание
LeetCode to GitHub

Here's a general process you can follow to upload your LeetCode code to GitHub:
#leetcode
#github
#git
Steps to upload files on gthub by using git commands:

Create a GitHub account if you don't have one already.
Create a new repository on GitHub, give it a name and a description of your choice, and initialize it with a README file.
Open Git Bash (or any other Git client you prefer) and navigate to the directory where you have your LeetCode code.
Run the following commands to link the local repository to the remote repository on GitHub:
csharp
Copy code
$ git init
Run the following command to add all the files in your local repository to the staged area:
csharp
Copy code
$ git add .
Run the following command to commit the changes to the local repository:
ruby
Copy code
$ git commit -m "Initial commit"
Run the following command to push the changes to the remote repository on GitHub:
perl
Copy code
$ git push -u origin master
Your LeetCode code should now be available on GitHub for others to see and use!
Рекомендации по теме
Комментарии
Автор

how can i make more folder and different different repo/folder

shraddhayadav
visit shbcf.ru