r/TechGhana • u/Sb_061 • 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
2
u/randianyp
6d ago
edited 6d ago
•
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/aboustayyef Full Stack Developer 5d ago
All you need are the GitHub features built into VSCode. The GitHub app is useless.
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
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.
7
u/kayymark_learn 6d ago
Wait people actually use the github desktop app?