I have collected all the projects and lab exercises I have done in the courses I took at the university in a folder and I want to put them in a single repository called university projects. There are many course folders inside the university projects folder. Inside these course folders there are lab or midterm-final projects folders and many projects in these two folders. For example, the address directory of a project in a course is as follows;
D:\projects\university-projects\mobile-application-development\lab-exercises\lab1-my-first-app
How can I put these university projects in a single repository on Github?
CodePudding user response:
Best way you can do this - by using GIT CLI command:
- Create github repo
git clone <repo_download_link_name>
- Move all your folders to this folder, <repo_name> that has appeared on your terminal
git add .
git commit -m "Add university projects"
git push
The second way is to use "Github Desktop", that will be in some way easier for you, than steps I have described above. As I see, you use windows, where github desktop (Application with GUI, that allows you to work with github) is available. You can download it here: https://desktop.github.com/ (or find link in google if you don't trust me).
Download it, login, clone your repo, manually add your directories and make git push
CodePudding user response:
Uğur hocam, you can easily do this with Github Desktop
Basic tutorial is here