Setting up Github Repository

Hi all,

I am getting back into the groove of development work after a decade, so I am a bit rusty on my fundamentals. I would appreciate all your help!

I am wondering if the cloned repository should also be “made my own” so that when I commit and push changes, it will appear in my Github profile?

Here are the commands that ChatGPT gave me in order to clone the repository properly:

Remove origin if you don’t need upstream as origin

git remote remove origin

Add your new repo as origin (SSH example)

git remote add origin git@github.com:username/fast-prototyping-of-genai-apps-with-streamlit.git

Push current branch (replace main with your branch name if different)

git push -u origin main

Is this correct? I would appreciate any guidance!

Thanks,

Omar

Hi Omar, welcome back to development!

Yes, those commands are correct. One note: create an empty repo on GitHub first. Don’t initialize it with a README, just leave it blank.

2 Likes

@KhanOmar

I don’t know at which video you are at right now, but the course video explains each step with video explanation, on how to clone the repo the course is providing. The git cloning, needs to be done your python console, so it automatically is visible on your GitHub repo. Go, further in next video, actually @dataprofessor explains it really exquisitely in week 1 of the course. Try to watch video till quiz section appears, then you should have a proper idea about how to do got cloning.

1 Like

Oh I see, I must be somewhat before the deep explanations.

1 Like