0
votes
0answers
32 views

Prevent Git autocomplete listing remote branch names

I use msysGit/Bash on Windows with Git and I see there is a git-completion.bash file in C:\Program Files (x86)\Git\etc which I assume handles autocomplete in Git. When you type git checkout mas + ...
1
vote
0answers
37 views

Working git from the command line

So I use Github for Windows (that fancy GUI app) to manage my various git-based projects, but I've noticed that on my machine I can't use the command line git to do anything with my projects. From the ...
0
votes
1answer
89 views

Cannot run Git from windows command line?

I have an unusual problem. I am not able to run git from the commanline: c:\> git (popup) c:\> Popup: I also found this (non-) info in the windows logs: How can I get git to run from ...
0
votes
1answer
29 views

How to pull from remote 'A' to remote 'B' in Git

I have 2 remote branches: origin/master and origin/my_123 - my_123 was branched off of master at some point but is now behind. I'd like to pull from master into my_123 so that my_123 is in sync with ...
0
votes
0answers
36 views

Zsh prompt produces an error

I have the default prompt for oh-my-zsh, which is great when I have a git repo, but if there is no git repo its actually failing instead of putting nothing. I trapped an ascii image to err just for ...
1
vote
1answer
129 views

Windows 2008 - `Where` command shows correct path but the actual command does not work

On my Windows 2008 VM, I have Git installed. When I run following command where git I get following output C:\Program Files (x86)\Git\cmd\git.cmd C:\Program Files (x86)\Git\cmd\git.exe but when ...
0
votes
1answer
1k views

How to use Git in fullscreen [duplicate]

I have been looking for ways to full screen my Git terminal screen on windows. I tried tweaking the property settings but no luck. I found few crazy hacks online , but could not get it to work! :( ...
2
votes
3answers
44 views

Can't get rid of mysterious outdated git installation on OS X

I'm trying to update my git installation to the latest version. I'm having trouble getting rid of the old version, which the git command is still referencing: $ git --version git version 1.6.3.2 ...
1
vote
4answers
494 views

How to use a text editor WITHIN the Command Prompt in a Windows OS?

Some input on this topic would be great. I would like to be able to create and edit the text of a file, all from the command line. No pop-up window (like with notepad), just create the file and start ...
0
votes
2answers
143 views

How can I use VIM to edit files from within CPrompt on Windows 8?

I was following a tutorial on how to use Git earlier. The instructor was using a Mac, and used a program called Nano to edit a file he made from the command line (or what it's called on a Mac.) I am ...
0
votes
2answers
123 views

PATH, resolve location of exe

Consider the following PATH c:\App1\;c:\App2\ App1 directory contains the application Foo.exe App2 directory contains the application Bar.exe Now when I'm in a CMD window I can type either Foo.exe ...
0
votes
2answers
174 views

Making MacVim/gVim “block” the terminal until closed

A long time ago, before I switched to vims, I used an editor for OS X known as TextMate. (Anyone remember that? ;) Its command-line binary, mate, allowed for a mate -w flag, which would block the ...
0
votes
1answer
368 views

Use a bat to execute a cmd (say git) as though in another folder without cd

I have a windows BAT script that does the following: call git reset --hard call git clean --force This works, but I really want to execute it within the context of another folder, something like ...
0
votes
1answer
583 views

Adding Git repo and branch to Tmux status line

I have found a Tmux configuration file that shows how to add the Git branch to the Tmux status line, however It just shows [[ branch ]] no matter if I am in a Git repo or not. I am not sure if this ...
1
vote
2answers
160 views

Any way to wipe out everything I have installed via Command Line?

So I have borked my system. Running OS X 10.8.3, I have installed a mess of stuff; Ruby, RVM, Git, Node, Brew etc... As well as playing with dotfiles (http://dotfiles.github.io/) Which I really ...
0
votes
1answer
127 views

MsysGit gets differend look&feel depending on, how it is called

When I start msysgit (C:\msysgit\msysgit\msys.bat) from its directory, it has an other visual settings, as when I start it over a shortcut in the Quick Launch. Why? How can I change it?
1
vote
4answers
144 views

How to overload a linux command

Every time the user types git commit -a, I want to run it in my own script, Then run original command git commit.. and have it run as it would have normally.
0
votes
1answer
187 views

Git commits via command-line fail, showing > symbol

I'm new to bash. After I've staged files to my local git repository and typed in the commands to commit: git commit -m "Descriptive message" Git (or is it terminal?) stops dead, showing the ...
2
votes
1answer
865 views

git: command not found

Using github for the first time. In terminal I receive this error git: command not found If I type in terminal which git it returns nothing. If I type which github it returns ...
1
vote
1answer
88 views

Git committing creates a file called “-”

It's very hard to search for on Google with the amount of documentation there is about git, but basically, when I do a "git commit", it creates a file called "-". It has nothing in it, and is owned ...
4
votes
2answers
7k views

Unable to “git stash pop” due to conflict

I have a local git repository and had several modified files. Then I needed to quickly produce a fix for something so I stashed my changes (git stash) edited file (vi file) committed (git commit) ...
1
vote
1answer
995 views

Is there a way to use GitHub for Mac for GitHub remote and CLI for other remote?

The GitHub for Mac app says it'll only work with the Git origin remote. This means that it'll only work with one remote. My current remote is used to push to Heroku. Is there a way to set my origin ...
1
vote
1answer
355 views

How to build a custom command with options

I want to make a command on my Mac to do the following: git add . git commit -m CUSTOM_COMMEND_BY_COMMAND git push cap deploy I seem to be calling those very often. I was wondering what's the best ...
3
votes
2answers
2k views

CAN get online but CAN'T ping/curl/use GIT from command line

I've recently begun to use GIT repositories for Node.js, Socket.io, websockets, etc. The specific project isn't important here, what is is I'm unable to connect anywhere outside of localhost using the ...
0
votes
1answer
348 views

MacPorts is installing an older version of Perl w/Git - why?

This is my first experience with MacPorts. I'm using it to install Git 1.7.3.2. I noticed during install that it's downloading and installing Perl 5.8.9 on my Snow Leopard Mac which comes ...
0
votes
1answer
3k views

Can't run git from command line

I'm getting the error 'git' is not recognized as an internal or external command, operable program or batch file. When trying to run git from the cmd in wwindows 7 Does anyone know how to fix this? ...
1
vote
1answer
1k views

Git pull auto complete OSX

Follow some instruction on this site http://denis.tumblr.com/post/71390665/adding-bash-completion-for-git-on-mac-os-x-leopard . I can do git auto complete for MAC OS. However, when I type git pull ...
57
votes
4answers
15k views

Forward SSH traffic through a middle machine

SSH tunneling is very confusing to me. I am wondering if I can do this in Linux. I have 3 machines.. A. My local machine at home. B. Machine at work that I can SSH into (middle man). C. My desktop ...