Questions tagged [git-shell]

A shell environment to the Git server which provide a SSH access. It has a command-line interface to execute commands on the server remotely.

A shell environment to the Git server which provide a SSH access. It has a command-line interface to execute commands on the server remotely. It's used to replace the default shell (like bash or csh) used by the system or in the user settings.

64 questions
39
votes
8 answers

Gitlab prompts for password while push for git user

I installed gitlab on my servers at linode. All services of gitlab are working fantastic. I am able to login, create users, repos etc. But the problem I am facing is when I try to push a repo it prompts a password for the git user as…
swaroopsm
  • 1,389
  • 4
  • 18
  • 34
38
votes
10 answers

git-bash $PATH cannot parse windows directory with space

I would like to use git-bash come with github client on a windows 7 (32bit) machine. Somehow, the git-bash has already learned the $PATH variables from windows system PATH. However, I found the $PATH in git-bash did not parse the win system PATH…
wyonghao
  • 381
  • 1
  • 3
  • 5
35
votes
1 answer

Update powershell keyboard bindings to be emacs style like bash shell

I'm fairly familiar with the default bash shell shortcuts (emacs style). For example, if I want to move my cursor forward by a word I would press Alt+F (same as you would in emacs). I can get to the previous command with Ctrl+P. Is it even possible…
Matt Messersmith
  • 12,939
  • 6
  • 51
  • 52
30
votes
2 answers

Git shell prompts for password in an OpenSSH popup window

I don't know why, recently git shell asks me for credentials in an old-fashioned OpenSSH window (by the way, I use a https connection) instead of just prompting in the console. That prevents me to use the wincred, I always have to type my…
saq
  • 422
  • 5
  • 9
19
votes
3 answers

VSCode automatically opens Git shell in terminal - how to disable it?

Since last VSCode version there was a popup asking me if I want to allow Git to open. Well I allowed this and now every time I try to open the integrated terminal the Git Shell opens externally and closes the integrated terminal. My user…
Hexodus
  • 12,361
  • 6
  • 53
  • 72
11
votes
1 answer

Is there a "more" command that can be used in the Git shell in windows?

The git shell has a few useful commands that aren't part of windows usual cmd (ls,git grep). Is there a command like *nix's more filename.ext available in the git shell?
StuperUser
  • 10,555
  • 13
  • 78
  • 137
11
votes
3 answers

git-shell - New repositories

I have a server with a dedicated git user and repositories I'm trying to use the git-shell method to allow my devs to work on several projects. I'm about to change the shell of my git user to git-shell If I do that, I won't be able to connect with a…
Pierre de LESPINAY
  • 44,700
  • 57
  • 210
  • 307
9
votes
3 answers

Automatic display of git status in Linux bash

I started working with git in a Windows system. I used the Git Shell that comes with Git Desktop. This commandline tool always displays the branch you are currently in and a short, colored form of git status (# of untracked files, # of changed…
Flo
  • 127
  • 1
  • 1
  • 7
6
votes
2 answers

Add files to .gitignore directly from git shell

I'm trying to add a specific file to .gitignore directly from git shell. File to ignore is token.mat If I type: touch .gitignore and then manually open .gitignore with a text editor and add token.mat save and close, it works, git ignores it…
sjp working
  • 63
  • 1
  • 5
5
votes
5 answers

Why I always Got Error "Push to origin/master was rejected"?

EDIT: one of the things should be aware of if you are using git bash is that BETTER TO KEEP AUTOCRLF FALSE git config --global core.autocrlf false ======================================================== I'm new to git and I got problems deploying…
Kira Nofans
  • 176
  • 1
  • 6
  • 20
4
votes
1 answer

GIT log command to extract pull request titles

I have a huge repository which has multiple folders inside it. Each of these folders is a separate application. Below is a sample of the repo structure: myGitRepo/ A/ B/ C/ .git I have been trying to use git log to fetch Pull request titles.…
B.T Anand
  • 549
  • 1
  • 13
  • 26
4
votes
1 answer

GitHub: Search all branches/versions for string?

Is there a way to search all branches/all their versions for some string? Essentially the equivalent of doing ctrl+shift+f to search the entire solution...but for all versions and branches? Longshot, but figured I would ask. If not, is there at…
VSO
  • 11,546
  • 25
  • 99
  • 187
4
votes
2 answers

Logging out or deleting credentials from git shell

How do I remove my credentials from git shell? I am on a shared computer (Windows) that has remembered my git login details. I have tried closing git shell but when I reopen it I am still logged in (doesn't ask for my details when I do a git…
eedrah
  • 2,245
  • 18
  • 32
3
votes
1 answer

How to install Git Shell for Windows?

My research led me to install GitHub Desktop (for Windows), as it seemed like Git Shell would be installed at the same time. However, I got Git Bash - not Git Shell. I need Git Shell for an installation, but it doesn't seems obvious how to install…
Mykita
  • 437
  • 2
  • 8
  • 31
3
votes
1 answer

Configuring git client for multiple git servers

I need to connect to multiple Git servers with different credentials for my work. I have my personal repository mypersonal@github.com, my office work repository myoffice@bitbucket.com and my customer work repository mycustomer@customer.com I need to…
TechiRik
  • 1,893
  • 6
  • 27
  • 37
1
2 3 4 5