How to push files from Git Bash to GitHub

Pubblicato il: 20 dicembre 2022
sul canale di: Tehsim Fariha
99
8

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


In questa pagina del sito puoi guardare il video online How to push files from Git Bash to GitHub della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Tehsim Fariha 20 dicembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 99 volte e gli è piaciuto 8 spettatori. Buona visione!