Graduated in Digital Media M.Sc. now developing the next generation of educational software. Since a while I develop full stack in Javascript using Meteor. Love fitness and Muay Thai after work.
Git status always before any other changing command to see which branch I am on, if there are unstaged files or unwanted files staged (that should be ignored).
However also important git log to see when last changes happened and git diff to compare against former commits.
I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
A lot of people use git in the background, so their prompt or tmux statusbar or whatever displays an oveview of their status. I don't know how that affects my answer.
Yes, I use git status. It probably lives halfway down my list of most-commonly-used-git-commands. But since I'm usually working in VS Code, I'm just as likely (maybe moreso) to first check the in-IDE git status highlighter marks in my active project (both in the file browser and the windows themselves). git status is more likely to be used if I'm just coming back to a project with intention to branch, unable to remember if I had tracked whatever changes I had made in my previous session.
I only use
git statusright before a commit to make sure everything looks right.Git status always before any other changing command to see which branch I am on, if there are unstaged files or unwanted files staged (that should be ignored).
However also important
git logto see when last changes happened andgit diffto compare against former commits.I mostly really on ide integration for git. I think
git initmight win overgit statusin my case. But I hardly use git at the command line.Conversely I rarely use
git initanymore.What IDE do you use?
IntelliJ, mostly for Java. But also with Rust, Clojure, web. Haven't found a good reason to use another IDE yet.
IntelliJ is a good one. I'm in the VSCode camp but specifically because I'm not doing any Java programming these days.
all the time, yes!
A lot of people use git in the background, so their prompt or tmux statusbar or whatever displays an oveview of their status. I don't know how that affects my answer.
Yes, I use
git status. It probably lives halfway down my list of most-commonly-used-git-commands. But since I'm usually working in VS Code, I'm just as likely (maybe moreso) to first check the in-IDE git status highlighter marks in my active project (both in the file browser and the windows themselves).git statusis more likely to be used if I'm just coming back to a project with intention to branch, unable to remember if I had tracked whatever changes I had made in my previous session.Other git commands used more frequently:
git add -A & git commit -m "{{message}}" & git pushgit loggit checkout -bgit branch -a