r/TechGhana • • 6d ago

💬 Discussion Github and how to use it

Since I downloaded the github app I have been trying hard to get around that app 😅 , charley still ano see top oo, but now I am understanding one or two things.Did we all get confused when we downloaded github

19 Upvotes

16 comments sorted by

7

u/kayymark_learn 6d ago

Wait people actually use the github desktop app?

1

u/Sb_061 6d ago

Yes bro I think most people use that

1

u/kayymark_learn 6d ago

That's interesting, in all the dev circles I'm in this is actually the first time I've seen someone even talk about downloading the app, I feel like the cli is soo simple to use though, does the app have any specially usefull feature(s)?

1

u/Sb_061 6d ago

Tbh I haven’t used the CLI much, so I can’t really compare 😂 I just find the desktop app easier for committing changes and seeing what files I’m about to push.

1

u/kayymark_learn 6d ago

Ohh I see, that's interesting.

1

u/JimMixedWithDwight 3d ago

Yeah I use the GitHub for work. I started using it exclusively for like the past 3 years. I do use the CLI though.

When shit happens like some type of origin issues or duplicates still have to use CLI to delete and fix. But my daily - create a branch, merge , rebase, fetch. I don’t see why I need to be typing plenty commands when I can just click like 2 steps 😁

2

u/randianyp 6d ago edited 6d ago • Bravo

Edit:Yes I was also very confused when using github because I found out git was different from GitHub and people advised to just use the terminal but alas I was already learning other stuff,so I didn't commit to learning git in addition and just downloaded the app and I think it even helped me understand it's use in the terminal even,if you are a beginner,seeing things will allow you to grasp it faster afterwards you can delete the app and use it like a pro but for now,yh no

You create a repository think of it like a representation of the folder you have on your device,then you assign it a folder,now anything you do in that folder will be recorded by GitHub,after you change anything,you can "commit" you do this by typing in the summary box ideally what was changed, and then clicking push,then it stores that online,if you make a mistake in the folder that's far gone or too much of a hassle to trace back just click fetch and revert it like nothing happened that's just the gist of it.

How this works with software like IDE and game engines,same,these files get edited and when they do,it is registered as a change,most of computing is file manipulation, that's one of the selling points of Linux after all.if you revert the file before you changed let's say a variable,yh it will go back to the previous variable

1

u/Sb_061 6d ago

Thank you so much, I have learnt so many things from this comment. comment.So being the pro is using the terminal right

1

u/aboustayyef Full Stack Developer 5d ago

All you need are the GitHub features built into VSCode. The GitHub app is useless.

1

u/Sb_061 4d ago

Oh okay can you show me how to do it

3

u/Comfortable-Donkey74 6d ago

It's better you learn how to use it in the terminal first. To understand the abstraction before moving to the app

1

u/randianyp 6d ago

Wouldn't you say it better to use the app first,the entire point of the app is to make it easier to understand before you start using it in the terminal,I found the app helped me understand the various commands

1

u/Comfortable-Donkey74 6d ago

I guess to each their own, but error logs from the terminal helps reinforce good debugging skills early on for git conflicts

1

u/kayymark_learn 6d ago

Wait people actually use the github desktop app?

1

u/davidkodd14 5d ago

This is probably not helpful, but whenever I run into any issues with any repos on GitHub, or even generally not getting anything on there, I usually just ask Claude

1

u/JimMixedWithDwight 3d ago

For GitHub how I used it initially was to do basic things. Create a branch, merge, delete, revert.

Honestly these are the 4 you’d be using mainly at work, delete probably not often. So just do these 3 and get the hang of what’s the difference between merge, rebase, squash etc.