Questions tagged [git-bash]

Git Bash is a bash shell bundled with Git for Windows that enables the use of Git from the command line.

Git for Windows provides a Bash emulation environment used to run Git and a small set of Unix tools from the command line.

3416 questions
1
vote
1 answer

what is the meaning of user@DESKTOP - 6RBC9EL MINIGW64 ~?

I am new to windows command line interface and after installing Git, my command line interface appears like one in the attached document. May I ask what is the meaning of python@DESKTOP - 6RBC9EL MINGW64 ~ ?
Manghud
  • 1,126
  • 3
  • 12
  • 20
1
vote
1 answer

Git Bash - When I try to run all tests using yarn, it doesn't show any results

I cloned e2e project and I'm now looking to run tests in git bash. They provided me with the following command: $ yarn test test/name/* but it doesn't show any results (only a huge empty space appears). Does anyone have an idea what I am doing…
Aleksandar
  • 23
  • 4
1
vote
2 answers

Locate a file and then opening the file using the command line in GitBash

I am new to GitBash. I am using GitBash in Windows 10. I started at the home directory and following are the commands/steps I have followed: ls. cd Documents. ls and found the docx file that I wanted to open. ran open and the name of the document…
msevans
  • 11
  • 1
1
vote
1 answer

How i can do simple refresh on a gradle project using cmd or gitbash

My project structure consist of both front-end(Angular) and back-end(Spring MVC) code. Whenever i do any front end changes normally i do npm run build from git-bash/cmd, after that i have to manually open STS, right click on project and do a normal…
Anand Kumar
  • 363
  • 1
  • 5
  • 15
1
vote
1 answer

i want to work on different branches in git in my local repository which have different branches from origin set as upstream

I am learning to use GitHub. I want to work on different branches in git in my local repository which has different branches from origin set as upstream. Do I have to create different folders for the branches in local or my computer to keep track of…
Aastha
  • 41
  • 8
1
vote
1 answer

Location of Git Path on Windows

Overall, I am attempting to execute: pm2 deploy ecosystem.config.js production I am on a Windows machine and I have tried many different shells (CMD, Babun, Cmder). On Babun, the error is: So, something about Git is not accessible. However, I know…
Nick
  • 466
  • 1
  • 6
  • 12
1
vote
1 answer

git config for proxy issue

so I'm trying to connect my visual studio 2017 with azure DevOps. I need to set the proxy so when I run the command git config --global HTTP.proxy HTTP://WindowsLogin:PASSWORD@10.43.0.29:8080 and set my password and windows login to my PW and user…
2766
  • 145
  • 11
1
vote
1 answer

Creating a progress bar for BASH script exporting system log files

Essentially for a set number of systems logs pulled and exported I need to indicate the scripts progress by printing a character "#". This should eventually create a progress bar with a width of 60. Something like what's presented below:…
dex
  • 11
  • 6
1
vote
1 answer

Getting Access Denied while cloning using git clone command

I am getting the below error while cloning my repository: please suggest Gurudas@Gurudas MINGW64 /e/Python/Python Programs (master) $ git clone https://github.com/Anu1996rag/Python_Basics.git Cloning into 'Python_Basics'... fatal: unable to access…
anurag patil
  • 11
  • 1
  • 4
1
vote
3 answers

I want to switch to a branch having name tempBranch in remote repository or origin using git Bash

I have these branches in remote or origin 1. master 2. tempBranch 3. tempBranch2 I have these branches locally 1.master 2.tempBranch when i git checkout tempBranch in gitbash it changes the branch to tempBranch but the code shown in this branch…
Aastha
  • 41
  • 8
1
vote
0 answers

Interactive commands are not working when using Jest with Bash

Whenever I enter an interactive command I get no execution. This has also been an issue running other apps from Bash. The command to update a snapshot test in Jest is 'u', but when I try running that or other variations I get nothing at all. › 1…
temeryunc
  • 11
  • 1
1
vote
1 answer

Heroku CLI Hangs After I Log In

I am on Windows 10 and I use Git Bash to use the Heroku CLI. I've used it before with no problems. Just today after a month of not using it I realize that the Password won't hide anymore. I'm positive this is not normal because the docs show it…
Lloydinator
  • 303
  • 1
  • 2
  • 17
1
vote
2 answers

Deleting Git Bash Memory

In some applications, you can reconfigure it by erasing all information from the memory occupied by the application and resetting it from scratch as if it had never been used before. Is it possible to reset the Windows Git Bash terminal by resetting…
pe.Math
  • 89
  • 1
  • 7
1
vote
0 answers

$ flow README.md

I am trying to create a file from git bash. WeirdGhost@Deepmind MINGW64 ~/project1/demo (master) $ git status On branch master No commits yet nothing to commit (create/copy files and use "git add" to track) WeirdGhost@Deepmind MINGW64…
Alienware
  • 37
  • 4
1
vote
1 answer

Issues with Pipenv on git-bash.exe

OS Info: OS: Windows 10 Version: 1909 Build: 18363.476 Python Info: Python: v3.8.0 Python path: C:\Python\38 Pip: v Pip Path: C:\Python\38\Scripts Terminal: shell: bash.exe (git-bash) version: 2.24.0.2-64-bit Issue: Trying to initiate…
sirrus
  • 341
  • 1
  • 7
  • 16