git-remote is a command used to manage the set of tracked remote repositories.

learn more… | top users | synonyms

2
votes
3answers
47 views

Git: Remote Branch Availability on Clone of Clone

So I'm pretty new to Git. I've used it for a while locally but never for it's intended purpose of distributed team collaboration. Background: Recently my company's outside developer started pushing ...
0
votes
1answer
21 views

Fetching the changes from my colleague's git branch

I want get the changes from my collegue's git branch. His changes are in his branch 'teamBranch'. I added his repo and fetched it with below commands. git remote add team 'his repo with URL' ...
0
votes
1answer
26 views

Push from local copy to remote shows up as changes

I set up a repository (git init) on an existing unversioned sourcetree in production (don't tell me). After the initial import commit I cloned the repo on my dev machine and started editing. After ...
0
votes
0answers
27 views

Git add remote for each submodule query

How can I add remote for each git submodule? git submodule foreach "git remote add ci [email protected]:~/ci.git" doesn't work for me.
0
votes
1answer
22 views

Git pull from source repository, push to separate test repository's directory

I have two git repos, one for the plain source code of a library I'm writing, and the other which acts like a test environment. I'll call them respectively prod and dev. Committers pull and push ...
1
vote
1answer
20 views

How to create a new remote branch with EGit?

Let's say I have an Eclipse Project which uses versioning control with EGit and is connected with a remote repository [email protected]:git2013. In my project, under the local branch newstuff, I create ...
0
votes
4answers
47 views

How to keep a second git remote repository for selected commits (states)

I want to keep two separate git remote repositories for a project (while having one local copy). One should be the development repository and one should be the representative public repository. I want ...
0
votes
0answers
25 views

Does git support different remotes for argumentless push/pull in the same branch?

I have a git repository (remote origin) that is a fork of another repository (remote upstream). Now I want my local master branch to track upstream/master but push to origin/master when performing a ...
1
vote
2answers
38 views

What is the differences between local branch, local tracking branch, remote branch and remote tracking branch

I just start using git and I got really confused between different branches. Can anyone help me to figure out what is local branches, local tracking branches, remote branches and remote tracking ...
2
votes
1answer
33 views

Find all tags at same commit as a given tag in a remote git repository

I am trying to find all tags that are at the same commit as a given tag in a remote git repository. If at all possible, I do not want to clone a local copy of the remote. For example, I have a ...
1
vote
0answers
32 views

Why does git remote show two commits for the same tag?

When I check the tags for a remote git repository using git ls-remote --tags origin I see the following: 0a8e26c20 refs/tags/v1.0 acd5c5c8e refs/tags/v1.0^{} I rebased a few commits earlier in ...
2
votes
1answer
3k views

git push to remote repository “Could not read from remote repository”

I searched for a while but I can't find a solution to my Problem. I have a Server I can connect to via ssh with the username git and a local git repository. Now I want to push my local repository to ...
0
votes
2answers
23 views

Using a separate user for multiple Git remotes on the same repository

Is there a way to clone a repository, add a second remote, but use a different/separate user for that second remote automatically when pushing/pulling? My use case is to have the remote "origin" only ...
1
vote
2answers
84 views

Push commit to 2 different remote branches?

I have two remote branches, branch A and branch B. Consider the case where I checkout branch A, made a commit and pushed. Now, I want to push the same commit to branch B. These two branches are ...
0
votes
0answers
67 views

GIT push not pushing commits to remote

I have been working on a git repository and have been pushing my local changes to a remote server all the time... up until recently. When I do a git push, it says that everything is up-to-date. In ...
0
votes
1answer
50 views

Cannot clone a git repository and have to create a repository locally first and to configure its local remote setting

My ~/.ssh contains two keypairs: id_rsa_foo&id_rsa_foo.pub for user foousername on GitHub (github.com) id_rsa_bar&id_rsa_bar.pub for user barusername on GitHub (github.com) for user ...
2
votes
2answers
62 views

delete local branch called “remote”

I've done something incredibily stupid. I figured I should ask before I tried to "fix" it and accidentally make things worse. I tried to list all remote branches in my git repo: git branch remote ...
5
votes
1answer
97 views

Is there a reason why you shouldn't mix ssh and smart http access with git?

I have set up a git server using gitolite for a small team. One of us created a repo and pushed the initial commits using smart http - let's say it resides at http://ourhost/project.git I then ...
0
votes
1answer
45 views

git send-pack: protocol error: bad band #50

I am trying to push some files to a server with git push. I have configured the server to push the files: git remote set-url test ssh://[email protected]:2200/fullpath/ but I am getting the ...
1
vote
1answer
33 views

git/EGit loses remote configuration

EGit loses remote configuration. I have such Remotes configuration (2 remotes): But in the morning I get again (origin point to /PaulVI): git remote output: ...
2
votes
1answer
352 views

The remote end hung up unexpectedly while git push with large files

When i try to push to my bitbucket repo, i get the following error. (In fact its the same in github as well). Counting objects: 48, done. Delta compression using up to 2 threads. Compressing ...
0
votes
1answer
26 views

Git: dealing with remote branches from a removed remote

git branch -a shows remotes/team/master and remotes/team/my-branch git remote rm team says "error: Could not remove config section 'remote.team'" (because I edited the config file with a text ...
1
vote
1answer
87 views

Git is not showing all branches on local

I forked a repo from Github. On doing git remote -v it displays: origin https://github.com/myusername/moodle.git (fetch) origin https://github.com/myusername/moodle.git (push) upstream ...
0
votes
1answer
110 views

view the git repository on remote linux server -> in Windows?

Problem: Need to view Git history visually in windows, repository is on remote Linux server (Ubuntu). Question: What are two easy ways to view the git repository on remote linux server -> in Windows? ...
1
vote
2answers
66 views

List all local branches without a remote

Problem: I want a way of deleting all the local branches I have that do not have a remote. It's easy enough to pipe the names of the branches into a git branch -D {branch_name}, but how do I get that ...
5
votes
1answer
111 views

Detailed explanation of 'git remote show'

I honestly cannot find any detailed documentation of the output of git remote show (certainly not on the man page) In particular, a clear, exact explanation of the Local sections would be ...
1
vote
2answers
131 views

Git workflow for merging remote ‘origin/develop’ into ‘origin/master’

With unlimited lifetimes for ‘develop’ and ‘master’, what’s the best workflow for merging and tagging a GitHub remote ‘origin/develop’ branch into the remote ‘origin/master’ without the remote ...
0
votes
1answer
31 views

git remote add -f doesn't add tracking branches

I'm cloning a fork of a project in github and want to set up an upstream remote to track the original project. As I understand things, fetching the upstream remote should create tracking branches of ...
2
votes
1answer
45 views

Get remote HEAD with libgit2?

I can't seem to figure out how to get a git_reference * to a particular remote's HEAD. I've got: git_repository * repo = NULL; git_reference * ref = NULL; /* ...load repository... */ ...
0
votes
1answer
27 views

Synchronize remote repositories

I'm looking to synchronize multiple remotes with bare copies of a git repository, such that if a developer adds or updates a branch on one remote, the changes will make it to the other remotes as ...
0
votes
1answer
45 views

What am I missing when adding a remote github branch?

I am adding a remote repository like this git remote add pythonic https://github.com/sanfx/pythonic.git but I get this error saying fatal: https://github.com/sanfx/pythonic.git/info/refs not ...
5
votes
3answers
73 views

How to make git repo remember all remotes?

I have a git repo that is a fork of another repo. As a rule I will normally add a remote called upstream, which is the original repo I forked from. $ git remote -v origin ...
2
votes
1answer
99 views

EGit: Pruning Remote Tracking Branches that have been Deleted on the Remote Repo

I'm using EGit (for Eclipse) with a team of devs. We have been creating a lot of feature and fix branches for new work, and then merging them into our release branches when they are completed. Right ...
0
votes
2answers
259 views

Git bare repository has master branch checked out?

I'm quite sure this question has been asked before but I dont seem to find it. So sorry if it is a dublicate. I have a bare repository lets call it project_x.git, if we check the config file it ...
0
votes
2answers
38 views

issues when trying to push a local repo to a github repo

I'm brand new to git and I'm having major issue when trying to push a local repo to github. I set up a remote repo called origin with my github repo SSH address. Then when I try to push I keep getting ...
1
vote
2answers
103 views

git: exclude files from remote

I have a Play Scala app which has two remotes, one for source, and another for deployment. Deployment needs the ./target directory but I want to keep the source remote clean of build files. Is it ...
0
votes
1answer
186 views

Adding a remote repo - Git add remote - Beanstalk

I just added a remote (repo?) using the command: git remote add my_remote_repo [email protected]:/g_my_remote.git I was expecting this Repo to show up in the beanstalk. Or may be I am ...
0
votes
2answers
55 views

Two git repositories with each other as remotes

I'm exploring options for managing my team's data. Currently they exist in two different locations and not under version control. I'm seeking the wisdom of experienced git users as I'm fairly new to ...
0
votes
1answer
27 views

github remotes/origin prefixes [duplicate]

I noticed that, for some reason, some of my git branches are prefixed with "remotes/origin": BZ9 * master remotes/origin/BZ8 remotes/origin/BZ9 remotes/origin/HEAD -> origin/master ...
2
votes
0answers
78 views

What is the purpose and function of Xcode's source control “Show Remote Status” menu option?

When working in Xcode on a project that's under git source control, I noticed the following menu item: File > Source Control > Show Remote Status and, when toggling it, it changes to: File ...
1
vote
2answers
77 views

Why does cloning a remote Git repo create a remote HEAD, when simply tracking does not?

I have Git configurations for participants in a project that are designed to behave the same for me and for all collaborators. So that, for example, our branch names match and the branches track the ...
2
votes
3answers
153 views

How do I change a commit message after a 'git-pull' auto-merge?

Occasionally, my collaborators will "panic" when there is an automatic merge generated as the result a git-pull, and just accept the default commit message. Before this commit gets pushed, I want to ...
2
votes
1answer
98 views

Create a remote Git branch as mirror for a specific git-svn branch of a SVN repository

I cloned an existing svn repo off a remote server locally using git-svn's git svn clone <orig_svn_repo_path>. I now want to setup a remote repo for only a particular branch out of several ...
0
votes
3answers
45 views

Files don't change on remote

I have 2 remote server one for production and one for testing So, pushing to production is fine since I push master git push production but after I created a branch , checked it out, made ...
0
votes
2answers
27 views

Add a removed existing remote to a git repository

I accidentally performed a git remote rm <remote_repo_name> :( Will a git remote add remote_repo_name <remote_repo_path> add it back as a remote even though the remote already had ...
3
votes
1answer
33 views

Getting the remotes along when pulling a local repo

Common situation: deployer$ git clone git://gitserver/project.git deployer$ cd project deployer$ ./deploy Lots of errors! deployer$ hack --until-it-works deploy deployer$ git commit -m "fixed it" ...
3
votes
3answers
150 views

How do I move my remote git repo to another remote git repo?

I want to move my remote git repository and all its branches to a new remote repository. old remote = [email protected]:thunderrabbit/thunderrabbit.github.com.git new remote = ...
2
votes
1answer
45 views

Why is old name of git remote sill in .git/refs/remotes?

I recently moved my 'main' remote git repository from code.google to github. Then, I renamed old origin repo to code-google and previously created remote github to origin. So far so good. But... ...
2
votes
4answers
113 views

Git: how to change active branch on remote repository?

I worked on some code on a local branch and then I pushed it to a remote test repository with this command: git push origin fix_vouchers:fix_vouchers I'd like to change the active brank on that ...
0
votes
1answer
155 views

“git pull” error produces “already up-to-date” on subsequent pulls

What do I have to do to get around this "already up-to-date" error: I created a new local repo and tried to pull the remote master branch. It stumbled over my new .gitignore and errored out. I ...

1 2 3