What is your most used git
command and why is it git status
?
Or if you aren't using git status
, how are you surviving?
What is your most used git
command and why is it git status
?
Or if you aren't using git status
, how are you surviving?
For further actions, you may consider blocking this person and/or reporting abuse
Use any Linode offering to create something unique or silly in the DEV x Linode Hackathon 2022 and win the Wacky Wildcard category.
→ Join the Hackathon <-
Wutipong Wongsakuldej -
Ilyoskhuja -
Gabriel Ferreira Duarte -
Bonnie -
Once suspended, missamarakay will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, missamarakay will be able to comment and publish posts again.
Once unpublished, all posts by missamarakay will become hidden and only accessible to themselves.
If missamarakay is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Amara Graham.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community 👩💻👨💻 safe. Here is what you can do to flag missamarakay:
Unflagging missamarakay will restore default visibility to their posts.
Top comments (9)
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 andgit diff
to compare against former commits.I only use
git status
right before a commit to make sure everything looks right.I mostly really on ide integration for git. I think
git init
might win overgit status
in my case. But I hardly use git at the command line.Conversely I rarely use
git init
anymore.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 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.Other git commands used more frequently:
git add -A & git commit -m "{{message}}" & git push
git log
git checkout -b
git branch -a