Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
650 views

#Please help me if you can I am working on a project where I need to run a program (script file) from github into git bash terminal. Whenever I tried to run the program, it shows mkdir error, says : ...
Erina Sharmin's user avatar
0 votes
1 answer
1k views

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 ...
Yonatan Tevet-Markelevich's user avatar
0 votes
1 answer
2k views

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 ...
Gorge's user avatar
  • 30
1 vote
1 answer
2k views

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 ...
Gorge's user avatar
  • 30
1 vote
1 answer
318 views

I have a user on my server that has /usr/bin/git-shell in /etc/passwd. How do I upload files to the folder ~/www/ on the server, where I have owner rights? If I try scp, I get this error: $ scp index....
rubo77's user avatar
  • 21.3k
0 votes
1 answer
72 views

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 libs/...
Reissner's user avatar
1 vote
1 answer
840 views

Start "" "%PROGRAMFILES%\Git\bin\sh.exe" --login cd E: git clone SshLink The above command is first opening normal cmd and then E: drive and then gitbash shell. I just want to open git-shell directly ...
Pratik Kumar's user avatar
-1 votes
1 answer
97 views

I want to get created Git branch (hotfix / feature) timestamp with shell_exec. I tried below, shell_exec("git show --summary `git merge-base your_branch master`"); But it showing null. Does anyone ...
Jaydeep Mor's user avatar
  • 1,723
1 vote
1 answer
425 views

I've setup a git repository behind linux ssh server. The repository is located at /home/git/mimpi.git. Login shell of user git is /usr/bin/git-shell pub/priv ssh keys have been setup and tested on ...
kalou.net's user avatar
  • 476
4 votes
1 answer
12k views

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 ...
B.T Anand's user avatar
  • 617
1 vote
0 answers
1k views

I installed Anaconda on Windows via the normal setup. The normal setup (to me) lets me run Anaconda from Windows' Command Prompt. Since I'm used to Linux, I tried using Anaconda from Bash Shell (on ...
Diego-MX's user avatar
  • 2,349
0 votes
1 answer
57 views

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 ...
roishik's user avatar
  • 515
5 votes
5 answers
47k views

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 =====================================================...
Kira Nofans's user avatar
19 votes
3 answers
4k views

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 ...
Hexodus's user avatar
  • 13.1k
0 votes
1 answer
431 views

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 ...
Cake's user avatar
  • 318
6 votes
2 answers
9k views

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....
sjp working's user avatar
0 votes
0 answers
351 views

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 ...
Gino Jan Ludikhuyze's user avatar
3 votes
1 answer
12k views

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 ...
Mykita's user avatar
  • 475
3 votes
1 answer
1k views

I need to connect to multiple Git servers with different credentials for my work. I have my personal repository [email protected], my office work repository [email protected] and my customer ...
TechiRik's user avatar
  • 2,153
13 votes
2 answers
20k views

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 ...
Flo's user avatar
  • 167
0 votes
1 answer
4k views

I accidentally made a pull from a different branch, which shifted the HEAD saying: HEAD is now at 7c0208906 Merge remote-tracking branch 'refs/remotes/origin/lorem-ipsum' Now, it keeps pulling from ...
Abhi's user avatar
  • 348
0 votes
1 answer
1k views

I'm using GitHub desktop and I have no problem until I try to make a new pull request or sync a branch. When I write git stage I receive: Not a git repository (or any of the parent directories): ....
joaquin's user avatar
2 votes
1 answer
219 views

I am pretty new to GitLab because we just moved to it from ClearCase. I Cannot merge some changes into my remote then to my local repo because the GitHub Desktop says that there are some conflicts. I ...
Mike's user avatar
  • 857
41 votes
1 answer
12k views

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 ...
Matt Messersmith's user avatar
1 vote
1 answer
2k views

git rebase -i $(HASH) is hanging .. never completes. Here's command the git rebase -i d8c0f59d5d627efb65b47264d5169e3626195839 Doing this to squash some of the commits.. Since it is interactive - ...
Tagar's user avatar
  • 15k
1 vote
0 answers
251 views

I would like to write a bat script that runs simultaneously Unity, visual studio and git shell. I would like to make git shell change directory (it always start at default github's repositories ...
user3387666's user avatar
3 votes
1 answer
5k views

I log into git-shell with PuTTy using a password. Whatever I type into the git-shell (the restricted login shell on a Debian linux server) results in a response like "unrecognized command". git> ...
Rusty's user avatar
  • 33
-1 votes
1 answer
3k views

Originally on my Github are some outdated styles.css and JavaScript files and others. I was working on my project last night but didn't push it to Github or back it up. It was just saved in my local ...
Roger's user avatar
  • 93
3 votes
0 answers
2k views

I am new to using the command line to add/modify files. I want to be able to make new folders/directories. I cannot figure out why the command "mkdir" won't work on my machine. I have tried to use ...
hilary.packard's user avatar
1 vote
0 answers
88 views

I use the Git Shell (Windows Powershell) that comes with github desktop. I have created a gitignore file and now want to ignore all the already committed files in my repository. From an answer here on ...
Xam Eseerts's user avatar
0 votes
1 answer
399 views

Split-Path : 找不到驱动器。名为“.C”的驱动器不存在。 所在位置 C:\Users\Administrator\AppData\Local\GitHub\PoshGit_a2be688889e1b24632e83adccd9b2a44b91d655b\profile.example.p s1:1 字符: 16 + Push-Location (Split-Path -Path $...
叶小白's user avatar
1 vote
1 answer
775 views

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 ...
Kamrul Hasan's user avatar
0 votes
1 answer
587 views

So i've got my git server setup on AWS, it worked perfectly fine on my mac and ubuntu, but i got trouble connecting it using windows. Here is the steps and the error i got. Steps: 1. generate keys ...
libra's user avatar
  • 683
-1 votes
1 answer
467 views

My master branch is currently syncing with a local folder W:\folder2. I'd like my master branch to sync with local folder W:\folder1 instead. How can I do this? I was playing around, while ...
codr's user avatar
  • 1,019
3 votes
1 answer
2k views

I'd like to add my SSH key to authorized keys on a git server (a company server), to not have to insert my password every time I push. However for some reason I cannot make that working. What I tried:...
EmDroid's user avatar
  • 6,046
30 votes
2 answers
10k views

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 ...
saq's user avatar
  • 532
0 votes
0 answers
178 views

So I have SSH GIT access to a server of mine (which is using git-shell) My question is, can I instruct that server (lets call it server A) to clone a repo remote from it (on a different server, lets ...
mrmrw's user avatar
  • 120
1 vote
1 answer
2k views

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 ...
pelican's user avatar
  • 6,274
0 votes
1 answer
594 views

I am new to Github so this may seem trivial. I was supposed to create an ssh key for my Github account. I did that by typing the following command into Git Shell: ssh-keygen -t rsa -C "rishikesh.330@...
lebowski's user avatar
  • 1,051
1 vote
1 answer
3k views

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 ...
sr1991's user avatar
  • 253
1 vote
2 answers
12k views

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):...
Franck Dernoncourt's user avatar
0 votes
2 answers
314 views

I have a bare git repository sitting on a server and a user with git-shell for ssh communication. The problem is that I can't force the user name and user email when I push my commits on the server ...
user avatar
1 vote
1 answer
2k views

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 ...
Disha V.'s user avatar
  • 1,864
1 vote
2 answers
2k views

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 ...
J. Doe's user avatar
  • 1,549
1 vote
1 answer
4k views

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 ...
LeoTM's user avatar
  • 10.9k
5 votes
1 answer
1k views

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, ...
VSO's user avatar
  • 12.8k
0 votes
1 answer
908 views

I was using Git shell for pulling data from GIT through (GIT pull) command. But I am having some problems while pulling the data because of showing the message "as file too long". while creating ...
Deb's user avatar
  • 49
1 vote
1 answer
512 views

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 ...
Out of Control's user avatar
4 votes
2 answers
2k views

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 (...
eedrah's user avatar
  • 2,465
1 vote
1 answer
1k views

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 ...
Achi Even-dar's user avatar