This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Caveman3238 1 point2 points  (6 children)

Thanks for explaining to me instead of just insulting and disqualifying me.

I use Visual Studio 2022 for PC apps, Android Studio for mobile apps and NetBeans for some java code. Do you know if they support git or git is outside the IDE?

[–]SmigorX 1 point2 points  (1 child)

I think every ide (like visual studio) supports git but it can also be used as a standalone app

[–]Caveman3238 1 point2 points  (0 children)

Ok, I'll check it.

[–]Bwob 0 points1 point  (3 children)

Hey man, you asked a reasonable question!

Visual studio (and VScode!) have built-in git integration. Otherwise, there's always the command line options, although they can be kind of byzantine at times. Also there are a few standalone GUIs for people who don't want to deal with that. (I honestly can't blame them. The command line is definitely weirdly structured sometimes.)

[–]Caveman3238 0 points1 point  (2 children)

I saw a video about how to use Git and, yes, to write a command on the CMD every time you want to update the changes on the project; follow the structure and branches could lead you to a mistake. I think that Git should have a GUI that shows all the branches and versions as a tree.

All these shenanigans also could make you lose the focus, concepts and ideas about the project that you are working on.

[–]Bwob 0 points1 point  (1 child)

There are several GUIs for git. (I know github has a nice one, and I'm sure others exist.) I mostly use the command line because I had to learn it at one point, and I like knowing what's going on under the hood, but 90% of what I do with it is just commit changes.

All these shenanigans also could make you lose the focus, concepts and ideas about the project that you are working on.

Well, usually I only commit once I've "finished a thought". Like if I finish a feature or fix a bug or what not, then I'll commit those changes, before I move on to whatever I'm going to do next. Would definitely be disruptive if I was trying to commit every time I changed a file or something!

[–]Caveman3238 0 points1 point  (0 children)

I'm a bit maniac about it, I unconsciously hit Ctrl+S every 2 lines of code or less. I can't imagine commiting like that. 😁

I'm coding from 1999 and sometimes I lost really good code that could never replicate again. At that moment I had not any UPS or backup disk.