Nice and easy. Works with git 1.6.3 and higher.
$ git rev-parse --abbrev-ref HEAD
master
Nice and easy. Works with git 1.6.3 and higher.
$ git rev-parse --abbrev-ref HEAD
master
For further actions, you may consider blocking this person and/or reporting abuse
Does your company have something to share with DEV?
Create an Organization and start sharing content with the community on DEV.
Nathan Orris -
Mehmet Fatih Yıldız -
Jack Lin -
Tapajyoti Bose -
Once suspended, math2001 will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, math2001 will be able to comment and publish posts again.
Once unpublished, all posts by math2001 will become hidden and only accessible to themselves.
If math2001 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 Mathieu PATUREL.
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 math2001:
Unflagging math2001 will restore default visibility to their posts.
Top comments (1)
You can also use any of the following.
Windows:
git branch | findstr \*
Linux:
git branch | grep \*