Skip to main content

How to upload your work on Github (Easy and Fast)

I had a problem with uploading any of my work on Github. Amr El-Naggar, A friend of mine, helped me to upload it fast. 

Here we go!

Consider this is the file I want to take some project from to upload on my Github: 

Click on the bar to write sth new: 
Write "cmd" to pop up your command shell



Open your Github Profile > Repositories > New > write the name > Create
Copy the URL 


Back to your Command shell and write: 

(only the first time) 
git init
git add .
git commit -m "Any message to say what you have done in this commit"
(only the first time) 
git remote add origin xxxxxxxxx (replace xxx with the link of the repo, ex: https://github.com/MennaEwas/Numerical-Labs) 
git push -u origin master

if you edited any files:

git add .
git commit -m "Any message to say what you have done in this commit"
git push -u origin master

You can easily copy and paste the lines
You have to see Done! 

Check the uploaded Files: 

Note: If you want to upload just one project. Put it alone in a file and accomplish the following steps! 

I am waiting for your comments, Friends. 
See you later. 




Comments

Popular posts from this blog

Miserable

 This one word could describe my life right now. I am writing this because of the last book I read talking about how to re-organize your life. 32 days ago, my dad has gone. In the beginning, I couldn't cry. Now, I can't stop crying about everything. Everything reminds me of him. His favorite stuff became my nightmare. I dream of him every day, too. One week from his death, I took my exams. I didn't remember how I did in them. I knew they were not how I supposed to do, but I am not aware of how I did. I wish I could have cried when he passed. I wanted to cry a lot but I didn't have the ability to face myself with the fact of his death.  He died between my shoulders. I just saw his color turned to yellow like how my grandpa seemed before death. I heard my brother told him some prayers that a person says before death and I just shouted at him to stop. I spent time squeezing his feet to make him shocked. I even talked to him, I said don't go, don't leave me, not now...

Be Sad, Be productive: How to make use of your depression

You may notice recently how I've changed from a happy person to a sad one and let's take a look at the progress that happened in my life and personality. First of all, I know the difference between sadness and depression if you don't know, take a look! In this topic I'm going to insert some tips and resources I hope you make use of them. Until now, I'm just talking about myself, but I'm going to look for some resources that reinforce my dreary hypothesis. Everyone knows I live alone, but not totally alone. I'm a member of many gangs and groups. I like being with people. There is no shame in that. Recently my timetable was full that I can't meet most of my friends and we rarely talk except 2 or 3 of them. When I felt so lonely, and instead of suicide, I've started watching and reading some profound DEPRESSED movies, books, and songs. Find the list. I have no idea what changed in me. I just get used to that sad mood. It has been my steady stat...