How to post your file in GitHub? |How to upload files in github repository?

How to upload files in the GitHub repository?

Step 1: Open Github and Click New Repository



Step 2: Type a Name and Description of your Repository



Step 3: GitHub Show Like This






Step 4: Go to the file which you want to upload and click Right (Open with Git Bash)
        If You Don't Know How to Download and Install Git on Windows Click Here




Step 5: Git Bash Opened

Step 6: Copy the Command

Copy the Code  Click Here
step 1:git init
step 2:git add .
step 3:git commit -m "First name"
step 4:git status
step 5:git remote add origin URL(ssh)
step 6:git push origin master
step 7:git push -f origin master

Note: If origin master already exists Use: git remote set-URL origin URL(ssh) (This Step Use as a step 5)


Step 7: Refresh Your GitHub Page




Step 8:  Your File Will Be Uploaded after Refreshed (your file size will authentically speed)










Post a Comment

0 Comments