NewStats: 3,264,417 , 8,183,666 topics. Date: Wednesday, 11 June 2025 at 01:08 AM 52523m

6382y

Github Issues - Programming - Nairaland 1u6s4b

Github Issues (979 Views)

(4)

(1) (Go Down)

syluck(m): 1:51pm On May 03, 2021
Hello Guys

I'm so fed up trying to link my local projects to my GitHub .

I have ed and made the necessary commands, read several tutorials on the internet and even watched a video.
It keeps getting me more confused.

I just need a clear understanding of how GitHub works, easy and precise procedures in cloning my local projects to my GitHub repository(screenshots will help)

Already my projects are intact (more of Django)

But to link it......I just can't...

Thank you.
pidginedtec(m): 2:15pm On May 03, 2021

2 Likes

Karleb(m): 4:02pm On May 03, 2021

https://www.youtube.com/watch?v=RGOj5yH7evk
Go through this video gently. It taught me git.

2 Likes

syluck(m): 1:31am On Feb 16, 2022
syluck:
Hello Guys

I'm so fed up trying to link my local projects to my GitHub .

I have ed and made the necessary commands, read several tutorials on the internet and even watched a video.
It keeps getting me more confused.

I just need a clear understanding of how GitHub works, easy and precise procedures in cloning my local projects to my GitHub repository(screenshots will help)

Already my projects are intact (more of Django)

But to link it......I just can't...

Thank you.

Funny enough I can commit my local project to GitHub now even with my eyes fully closed.

Life of a programmer. There are stages you know absolutely nothing and there are stages you are like, I can do this...

1 Like

qtguru(m): 3:08pm On Feb 16, 2022
syluck:


Funny enough I can commit my local project to GitHub now even with my eyes fully closed.

Life of a programmer. There are stages you know absolutely nothing and there are stages you are like, I can do this...

Lol that's always how it is. nice one

3 Likes

airsaylongcome: 3:46pm On Feb 16, 2022
This life riri no balance. Got my github.com in 2013 to learn Data Science. Long story short I "abandoned" that training because of people's mouth. They were like "Data Science?! What is that?!?"

Today the only git comand I'm comfortable with is. git clone grin cheesy

1 Like

emmyN(m): 5:05pm On Feb 16, 2022
syluck:
Hello Guys

I'm so fed up trying to link my local projects to my GitHub .

I have ed and made the necessary commands, read several tutorials on the internet and even watched a video.
It keeps getting me more confused.

I just need a clear understanding of how GitHub works, easy and precise procedures in cloning my local projects to my GitHub repository(screenshots will help)

Already my projects are intact (more of Django)

But to link it......I just can't...

Thank you.

I'm having this challenge presently. ed Git bash, typed the necessary commands for repo cloning, but still confused how to use it. Even Github looks very lifeless to me, so I'm still sitting on the fence doing my projects locally until I can wrap my head around that graveyard site cheesy
Re: Github Issues by Nobody: 7:47pm On Feb 16, 2022
syluck(m): 8:34pm On Feb 16, 2022
emmyN:


I'm having this challenge presently. ed Git bash, typed the necessary commands for repo cloning, but still confused how to use it. Even Github looks very lifeless to me, so I'm still sitting on the fence doing my projects locally until I can wrap my head around that graveyard site cheesy

Lol, I've been here where you are...

Don't worry with time, you'll get used to it.

And it's very risky having your projects locally without committing it to your github repository.

Meanwhile...
The basic tutorial on how to go about it.

*Make sure you have a GitHub profile.

*Go to repository page on your github and click on it

*Click on the "new"

*Then enter the name you intend giving it. With the description (optional)

*Then scroll down to where you see "create repository" and click. (For now, ignore all other options given. You'll get to understand them someday)

*You'll be then redirected to the fourth picture below.

Leave it for now....


Go to your local project on your PC.
*cd into the project you want commit to your github repository. (cd is a command for Windows to be in a particular directory. I don't know for other OS)

Note: The asterisks is not needed when running on your PC. Ignore them.

*run the command * git init * (this initializes your local project to github.)
*Then you run * git status * (this will show you lists of files you're yet to add and commit, more like showing the status of your files yet to accepted by github)
*Then run * git add . *
*Then run * git commit -m "first commit" *
*Then * git branch -M main *

Go back to your github where you left it....

Copy this command

* git remote add origin https: //... *

(it's definitely visible, copy the whole line)
Then paste it on your PC local project.

*lastly, run *git push -u origin main *

You'll get a success message if done correctly. Make sure your network connection is working. It uses network connection to commit.
Most of the instructions are shown on the fourth picture. What isn't there is just * git add . * And it's very important.

About the REE.md?. You can create that locally on your project just like you're creating a new file.

When you have successfully created a new repository. You will likely want to commit new changes to the same repository.
Just follow these three commands accordingly.

* git add . *
* git commit -m "second commit" *
* git push -u origin main *

That's all for now. You'll get used to it with time and understand other instructions, options and commands.

HappyPagan: 11:49pm On Feb 16, 2022
syluck:
Hello Guys

I just need a clear understanding of how GitHub works, easy and precise procedures in cloning my local projects to my GitHub repository(screenshots will help)
https://t me/+n_8Cx4fsEYdhNDRk

Replace the space between t and me with a dot.
Psychodavidovic(m): 12:29am On Feb 17, 2022
emmyN:


I'm having this challenge presently. ed Git bash, typed the necessary commands for repo cloning, but still confused how to use it. Even Github looks very lifeless to me, so I'm still sitting on the fence doing my projects locally until I can wrap my head around that graveyard site cheesy

What error are you getting?
emmyN(m): 3:00am On Feb 17, 2022
syluck:


Lol, I've been here where you are...

Don't worry with time, you'll get used to it.

And it's very risky having your projects locally without committing it to your github repository.

Meanwhile...
The basic tutorial on how to go about it.

*Make sure you have a GitHub profile.

*Go to repository page on your github and click on it

*Click on the "new"

*Then enter the name you intend giving it. With the description (optional)

*Then scroll down to where you see "create repository" and click. (For now, ignore all other options given. You'll get to understand them someday)

*You'll be then redirected to the fourth picture below.

Leave it for now....


Go to your local project on your PC.
*cd into the project you want commit to your github repository. (cd is a command for Windows to be in a particular directory. I don't know for other OS)

Note: The asterisks is not needed when running on your PC. Ignore them.

*run the command * git init * (this initializes your local project to github.)
*Then you run * git status * (this will show you lists of files you're yet to add and commit, more like showing the status of your files yet to accepted by github)
*Then run * git add . *
*Then run * git commit -m "first commit" *
*Then * git branch -M main *

Go back to your github where you left it....

Copy this command

* git remote add origin https: //... *

(it's definitely visible, copy the whole line)
Then paste it on your PC local project.

*lastly, run *git push -u origin main *

You'll get a success message if done correctly. Make sure your network connection is working. It uses network connection to commit.
Most of the instructions are shown on the fourth picture. What isn't there is just * git add . * And it's very important.

About the REE.md?. You can create that locally on your project just like you're creating a new file.

When you have successfully created a new repository. You will likely want to commit new changes to the same repository.
Just follow these three commands accordingly.

* git add . *
* git commit -m "second commit" *
* git push -u origin main *

That's all for now. You'll get used to it with time and understand other instructions, options and commands.

This is a lot. Thank you so much. I hope I'm able to get the wrap of it and get comfortable using it soon. Will create time this weekend for that. I've been able to create a repository on GitHub and made two commits already. My issue is Git (bash), interface just not what I was expecting it to be like. None of those fanciful gizmos and whatnot. That explains the graveyard feeling I was talking about.

You used the command line rather than Git for your example. I guess they run the same commands. Will check that out.
emmyN(m): 3:11am On Feb 17, 2022
Psychodavidovic:


What error are you getting?

Not really an error. I'm just not yet comfortable with the environment. Github for instance, when I see people talk about it on here, it seems a great site buzzing with much activity, where you get to participate in projects not necessarily yours, contribute to open source, see what others are doing, and the likes of it. But each time I get on my GitHub profile it feels like I'm the only one there. I click on the explore tab and there is only a small amount of information shown. I want to connect with others, it asks me to specify their GitHub profile name to search them out. How do I do that when I'm new to the site and barely know anyone around? Maybe I just don't know how to use the site yet.
Psychodavidovic(m): 9:16pm On Feb 17, 2022
emmyN:


Not really an error. I'm just not yet comfortable with the environment. Github for instance, when I see people talk about it on here, it seems a great site buzzing with much activity, where you get to participate in projects not necessarily yours, contribute to open source, see what others are doing, and the likes of it. But each time I get on my GitHub profile it feels like I'm the only one there. I click on the explore tab and there is only a small amount of information shown. I want to connect with others, it asks me to specify their GitHub profile name to search them out. How do I do that when I'm new to the site and barely know anyone around? Maybe I just don't know how to use the site yet.

In a similar boat with you as I'm also new to it.
niel63(m): 10:19pm On Feb 17, 2022
Me I'm using my VSCode on a virtual computer.

I recently started coding on one of my RDP's and honestly it's been really fun. So even when I forget to commit, e no dey go anywhere. cheesy but I try to commit atleast once a day. wink

(1) (Reply)

Software Project Management

(Go Up)

Sections: How To . 39
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or s on Nairaland.