In this tutorial, we are going to learn How can we upload our project's Git repository to GitHub or How to get a project uploaded to our GitHub repository.
Reminder: If we don't have Git installed, we have to set it up first.
Open up a Windows command prompt.
Change into the directory where our source code is located in the command prompt.
First, create a new repository in this directory git init. This will say "Initialized empty git repository in ....git" (we already have it that's why we did not show it).
Now you need to tell Git about your files by adding them to your repository. Do this with git add filename. If you want to add all your files, you can do git add .
Now that you have added your files and made your changes, you need to commit your changes so Git can track them. Type git commit -m "name". Press the Enter and type git pull
Then again type git push and Press the Enter button.
If you like my video please, support my channel with :
LIKE 👍
SHARE 🔂
SUBSCRIBE ✔️
Thanks.
#github #gitbash #Windows10 #GitCommandForUploadingFilesUsingGitBash
Auf dieser Seite können Sie das Online-Video How to push files from Git Bash to GitHub mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Tehsim Fariha 20 Dezember 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 99 Mal angesehen und es wurde von 8 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!