Hi Madhu,
Git is designed as a unix/linux application, so by default it is a
programme that does a single requested action and exits. It does not
'hang around'. The latter is a more 'Windows'/GUI style of operation.
It is possible / common for folks to create an alias 'g' as a shortcut
to git to reduce the typing, but I'll let you decide if that is for you.
Alternatively look for a git gui programme that tries to continually
monitor things in the background, but it may not do exactly what you need.
I find I can cope quite will with the 'git gui' (comes with Git for
Windows) and a few commands type direct into the bash command window
(the number used builds with time and familiarity).
Philip
On 12/06/2019 19:35, Madhu wrote:
Hello everyone,
I was wondering if there's a way to avoid having to type the word git
at the beginning of every Git command. It would be nice if there was a
way to use the git command only once in the beginning after opening a
command prompt to get into "Git mode" (after which the commands can be
entered without 'git' at the start of the command).
I asked this question in Stackoverflow couple of days ago (link
below). There was a huge response. There were many different work
around suggestions.
https://stackoverflow.com/questions/56505000/how-do-i-avoid-typing-git-at-the-begining-of-every-git-command
As a web developer using Git Bash on Windows, with no knowledge of
Unix shell scripting or C++ or Perl, I couldn't use the work arounds
suggested.
I will be nice if there is a built-in feature which helps with this.
I am curious to know whether there is any proposal to add such a
feature in the future. If not can this be taken a feature request?
Thank you!
Regards,
Madhu
--
You received this message because you are subscribed to the Google
Groups "Git for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to git-users+unsubscr...@googlegroups.com
<mailto:git-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/git-users/f3be19ae-cb43-42c9-84f0-ad9bff29a8eb%40googlegroups.com
<https://groups.google.com/d/msgid/git-users/f3be19ae-cb43-42c9-84f0-ad9bff29a8eb%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Git for
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/git-users/bf124fb3-802f-366b-c423-3d6e61ecdaf0%40iee.org.
For more options, visit https://groups.google.com/d/optout.