git equivalent for --all for all non-remote branches?
--all parameter is used in various git commands to refer to all branches. Is there an equivalent for all non-remote branches?
(Specifically, this came up using git-filter-branch, I'd like to work on all local branches.)
is there any way to list all branches in google repo? I found it is very difficult to understand repo. Here only provide very few commands which does not not provide a list branch mechanism.
I have Git for Windows installed. When I right click on a project and select Git History I get the Gitk window, but every time I do so I need to set the view to see all branches. Even when I edit the
We have a lot of developers creating feature branches that I would like to build. Nightly we run a code quality tool that needs to run on every branch. I also would not like a static configuration bec
I have several questions on the following sequence of events. There are 2 developers working on this code .. First and foremost, what causes branches to diverge on a first place? 11:05:08 ~/myApp $ gi
Team Foundation Server 2013 offers a Continuous Integration build service. In the process of settings this up in Visual Studio 2013, I ran into dialog for selecting GIT branches to watch: What should
I would like to list all commits on all remote branches in my repository. I just want the SHA1 for each commit. Thanks!
Is there a git command that returns a list of remote branches given remote git repository URL? It doesn't make sense that I need to set up local git repository just for listing all remote branches! Th
I have a git repo with 2 directories and multiple branches, I want to split them and create all branches `-- Big-repo |-- dir1 `-- dir2 Branches : branch1, branch2, branch3 ... What I want I want to
I need to fetch everything from a few different, distinct repositories (all remote branches and all changes to those branches). I tried git pull --all but for some reason, I get the following message:
being new to git, I have this dumb question - what is the correct way of using feature-branches ? From what I have gathered, this is how I thought it should be used: got some 'develop' branch from whi
I'd like to use a popular, open source issue tracker (Redmine) that offers git integration. Unfortunately, each project in the tracker can only be associated with one git repo. Creating multiple proje
I found reliable way of getting my local git URL in post How can I determine the url that a local git repo was originally cloned from? But how to get all the clone URLs that are available for reposito
I have a team member who inadvertently pushed over 150 of his local branches to our central repo. Thankfully, they all have the same prefix. Using that prefix, is there a git command or cool little sh
Relatively simple question but I can't find much on the internet. All my search results simply show how to use git branches but doesn't explain how its different. I know that with SVN, creating a new
I am working on a svn project with two branches, lets call them trunk branches/foo My idea is to clone the whole svn repository (telling git which folder are trunk, tags and branches), do the merge i
how can I list newly created(added) files between two branches? I can list all files that have been changed with: git diff --color --name-only branch1..branch2 But that also contains files, that just
We're using Git 22.214.171.124. Given multiple branches with names BRANCH_1, BRANCH_2, ... BRANCH_N, is there a programmatic/scriptable way to tell what conflicts will exist if we want to merge all of these?
On a github project you can go to a /branches page and se pretty graphs like this one that for each branch show how far behind and how far ahead each branch is with respect to master. Is there a comm
After cloning my SVN repo into GIT, I deleted in my GIT repository the SVN branches that I was not likely to use as I had not read of how to just load a specific branch. Now I need them all back but c
We have a gitolite server setup and running for use within our team. The parent for my local git repository is a central svn repo. The gitolite server has been added as a remote and I am able to push
I do all of my terminal work in emacs and would prefer to use the much richer tools for moving around the output than less. Worse, any time an applications pages inside of emacs, it is horribly anno
I follow a development process where I create a new local branch for every new feature or story card. When finished I merge the branch into master and then push. What tends to happen over time due to
I am trying to work with GIT, without creating private branches. What that means is I directly work on my cloned repository (master) Now, Is that the right way to use GIT? I run into many issues rel
I have followed this answer (How to remove/delete a large file from commit history in Git repository?) to get rid of some big, unwanted files in a repository. I have done all the steps stated there in
I know this question was already asked here: https://stackoverflow.com/questions/2329716/merging-changes-from-master-into-all-branches-using-git, but I would like to see real code that does this. I ha
I'm trying to import a CVS repository into git. Unfortunately, we've been using a really old method of creating releases from our CVS repo, that doesn't involve any actual CVS branches or tags, but ke
I have a few branches and a commit with ID X, I want Mercurial to return me a list of branches where that commit exists. Mercurial already stores information about branch in every commit, but only abo
For some reason I keep on cloning all the remote branches when I just want to clone a specific remote branch. I've google and search in SO for this one but can't seem to find it. I'm trying to clone
what is sqlserver T-SQL equivalent to oracles show all listing the set parms on the DB?
I often have at least 3 remote branches: master, staging and production. I have 3 local branches that track those remotes. Updating all my local branches is tedious: git fetch --all git rebase origin/
I've cloned a git repo using git clone --mirror, and I'd like to keep the mirror up to date. So far, I've been using git fetch --all, but I've noticed that branches deleted in the original repo are no
How can I delete all existing git aliases at once? I tried git config --unset-all ... but was unable to figure out the correct syntax for this command.
Is there a simple way to backup an entire git repo including all branches and tags?
We have a central repo with 20 branches, they all use layout like: /.gitignore /file1.txt /file2.txt Now this should be changed to /.gitignore /ProjectFolder/file1.txt /ProjectFolder/file2.txt in al
I'm really going crazy over this. Quite frankly I'm not sure why I'm having trouble understanding this as it should be simple, right? First of all I've done tons of searching on this. I've read a bunc
I recently see something very strange. Suppose I have three branches. They all have a file named A. A then is renamed to B independently in three branches. Then the three branches are merged into one.
I thought a file created on one branch will not appear in any other branches until I merge or rebase the branch? Example: I have two branches: master new_contact_page I checkout the new_contact_page
I am looking for a Bash script to write 'all' my git repository branches in a file as follow : branches=origin/master,origin/master/feature/f1,origin/develop/feature/f2 something like following bash :
I've cloned an whole std-layout subversion repository with git-svn. My git config is defined as: [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [svn-remote sv
Except for readability and clutter issues, should you remove git branches that will probably never be used again ? Does it improve git performance or has any effect on the total size of your repositor
I've created a bare repository than cloned it. When I do git branch -a nothing is showed. How come I don't even see the default master branch? Although git bash shows the following: /some/path/project
I would like a cronjob to run every night which does git fetch then rebases every branch onto whatever it is tracking. If it doesn't apply cleanly then just abort and try the next one. This mostly wor
A riff on git: show all changed files between two commits: I want a listing of all files that have been changed between two commits, even if they are now the same (ie, changed and then changed back).
I have a Git repo with two massively diverged branches A and B: A is the upstream branch of the open source software B are all changes we made to it (from a very early commit from A as a starting poi
I have a quick question regarding local and remote branches in git. Is it common practice for your local branches to be mirrored on your remote repository? It seems to me as though this would make sen
I'm trying to git-cvsimport several different modules from CVS, all of which are on different branches. So far I've done this (in pseudo-bash code): for each ($MODULE, $BRANCH); do git-cvsimport -p x
I'm learning git and I don't understand why we need branches. Why not just develop in a linear fashion?
I must convert a branchy mercurial repo into a git repo AND continue to pull changes from mercurial to git (one-way only) for some time. Existing hg-to-git answers do not seem to handle branches corre
I often have sub-branches on a branch that I want to rebase onto the mainline. Consider this: * (Mainline) * * | * (topicA_Branch3) | * | * | * (topicA_Branch2) | * | * | * (topicA_Branch1) | * | * |/
I have two repos that I want to have different info associated with it. For example one repo is named site and I want user.name = admin user.email = email@example.com and for the all other repos I wa