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
1
vote
1 answer

Git Bash or Git Shell , which is better for Windows?

I'm learning about git form a video tutorial that uses git bash and i have downloaded GitHub for windows along git shell.which is better to use in windows and is there any differences in command lines between these?
1
vote
1 answer

Failed to add the host to the list of known hosts - cloning a Bitbucket repo via Git-Shell in Smartgit

I'm using Smartgit v7.1 on Windows 10; I open the Git-shell in Smartgit and ran this command (git fetch --all) to clone a repo on Bitbucket server: But I get the following error: $ git fetch --all Fetching origin Could not create directory…
pelican
  • 5,846
  • 9
  • 43
  • 67
1
vote
1 answer

Couldn't open Git Shell in Windows 10! How to open Posh-Git?

Very new to Git Hub and Git Shell. I have installed GitHub using GitHubSetup.exe from https://desktop.github.com/. It created shortcuts for GitHub and Git Shell on my desktop and I am able to clone my repository to C:\ drive too. But when I open my…
sr1991
  • 253
  • 2
  • 4
  • 13
1
vote
2 answers

GitHub Desktop / Git Shell: SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054

Since this morning, when I try to sync from GitHub Desktop after creating a commit, I sometimes get the message: When I try to push the commit in Git Shell, I get: SSL read: error:00000000:lib(0):func(0):reason(0), errno 10054 What could be the…
Franck Dernoncourt
  • 77,520
  • 72
  • 342
  • 501
1
vote
1 answer

committed without git pull, not pushed due to conflict

I am using netbeans to pull/commit/push to git. I have accidentally make commit before pull request and now it's asking me Rebase/Merge. Either of option gives me error. I tried with following links using Windows git shell How to undo last commit(s)…
Disha V.
  • 1,834
  • 1
  • 13
  • 21
1
vote
2 answers

Why does ls work in GitShell, but ls -a or ls -la not work?

I started using GitShell on my Windows 7 computer in order to try to get a script to work properly. When I type ls into the shell, it works fine and displays the file. When I type ls -a, or ls -la it gives me this error - Get-ChildItem : A…
J. Doe
  • 1,479
  • 5
  • 25
  • 49
1
vote
1 answer

Git Shell Ruby Bundler error parsing 'Gemfile' : Undefined local variable or method '??g'

I've installed Ruby 2.2.2 (x64) via the Windows installer. Then from the GitHub for Windows Git Bash Shell, installed Bundler via gem install bundler. In my site repository I've created a file called Gemfile with the line gem 'github-pages'. However…
Leo
  • 10,407
  • 3
  • 45
  • 62
1
vote
1 answer

Gitlab 7.8.4 unable to push with SSH or HTTPS

Our setup: Gitlab CE Gitlab 7.8.4 Git-shell: 2.5.4 Gitlab API: v3 Ruby: 2.1.5p273 Rails: 4.1.1 This is test is on a private repository owned by the same user that is trying to push to it (user is admin). Environment check is clean with no errors.…
Out of Control
  • 456
  • 1
  • 6
  • 21
1
vote
1 answer

undo git init when "rm -r .git" doesn't work, Windows

I am trying to undo a "git init" command in github shell on Windows 8.1. When I write rm -r .git it says: rm : Cannot remove item : You do not have sufficient access rights to perfoem this operation. It prints it for many files. Any…
Achi Even-dar
  • 427
  • 1
  • 10
  • 20
0
votes
1 answer

Converting .cda to .mp3 in a bash script while keeping original name

I am trying to write a shell script that takes files from a cd drive and moves them onto an external USB drive. I am running it on windows 11 in the git shell for windows. Part of the script is to change the .CDA files from the cd drive to a .mp3…
0
votes
1 answer

Git error (warning: shell level (1000) too high, resetting to 1, etc..)

Wanted to learn git, so i donwloaded it and wrote some things. When I opened it today, it "crashed" my windows 10 and then showed a few tenths of errors. I tried to work in visual studio code, but when i write some git command like ls-la it shows me…
Gorge
  • 30
  • 1
  • 8
0
votes
1 answer

how to invoke javac from windows git shell/gnu makefile

I was working home office with my linux box, was sure to write portable code. Used shell and gnumake and compiled java through javac -Xlint:deprecation -Xlint:unchecked --module-path…
Reissner
  • 31
  • 2
0
votes
1 answer

Recover .git file while the local repository is the updated one

A year ago I opened a Bitbucket account and used it to follow versions of a local folder (on my personal laptop). Since then my laptop "died" and I bought a new one. My files were backed up on a Mega cloud, so they recovered successfully. Though,…
roishik
  • 515
  • 2
  • 9
  • 19
0
votes
1 answer

Git alias parse message

I'm trying to make an alias for adding my changes, and committing them after. The commit message must be prefixed with the branch name. The message should look something like: "[BRANCH-123] Message here" My branches are prefixed with a subtree like…
Cake
  • 318
  • 6
  • 20
0
votes
0 answers

Git command: "WARNING: Could not find ssh-agent" Issue persist

The problem occured after: When installed the Jekyll SEO Plugin with bundle install installing GEM jekyll-sitemap 0.11.0 When added a GEMfile in source file C:\Users\User\Documents\GitHub\PROJECT Other Issues: When I request: Jekyll serve…