When is the right time to delete a git feature branch?
I don't want to end up with 82 feature branches hanging around, so I'm wondering what the potential drawbacks are to simply deleting the feature branch as soon as I merge it to master.
git co -b feat-xyz
hack some more
git co master
git merge feat-xyz
git br -d feat-xyz
Any issues here?
I'm using git-svn and I accidentally typed git svn rebase on my feature branch, what are the ramifications? Normally I type git svn rebase on master, then I'll type git rebase master feature to updat
I run: git checkout mygithub/master but for some reason, running 'git status' shows not currently on any branch. Running: git checkout master and then git status, says that I'm now on branch mas
I know this has been covered before, but I have tried the following and can't seem to delete the remote branch. aly@neon:~/workspace/3DOD_VARIANCE$ git branch -a * master remotes/origin/HEAD -> or
So let's say I have a main branch, we'll call 'master'. I've made a branch, called 'new-feature'. I've made a ton of commits in this branch so I can go back in time, but I've done quite a bit of back
This is probably one of the silliest questions i have asked. I'm trying to use Git for a project set up by someone else. I have pulled the master branch from the remote repository and I branched it
I'm new to Git, and sometimes I find myself working on a feature branch(say adding library A) while also working on program B that uses it(which I call the use branch, maybe there is a better word). S
We have implemented a kind of git flow workflow in our company but not everyone is actually using git flow yet so there are some hiccups. Here is one. A colleague was working on a feature branch and n
Let's say I have a feature branch called FeatureA, and it is out of sync with (remote) development on which it is based. Normally I would rebase my branch by calling git rebase development (after sync
I'm using git-flow for my projects, and have started a rather complicated set of changes in the develop branch, which appear to take longer than I expected first. I wish I had done this in a feature
I set just a simple description for my local branch and now I'd like to see it. How one can see description for a branch set by issuing git branch --edit-description?
I'm getting crazy with Git :) I have 2 branches : master and dev I want to create a feature branch from the dev branch Currently On branch dev, I do : $ git checkout -b myfeature dev ... (some work
After I did a clone of a repo, a new branch test has been added to the origin remote. But I still see: $ git branch -a * master remotes/origin/HEAD -> origin/master remotes/origin/master What git
Right now, when I type git branch it lists my branches in an arbitrary order. What I would prefer would be if git branch listed my output in a tree like fasion, somethign like: master |-- foo |--
When I want to delete a branch locally on git and propagate this to the GitHub repo, I use this 2-step method: ~$ git branch -d [branch_name] ~$ git push origin :[branch_name] Is there any command to
We have the following branches: master and develop. We created a new branch feature off of develop and assigned a team to work on it. During development: remote develop accepts new commits by other t
In our project we try to stay close to the official git workflow as it is suggested here: http://www.kernel.org/pub/software/scm/git/docs/gitworkflows.html We use a master and next branch, start our
Coming from svn, just starting to become familiar with git. When a branch is deleted in git, is it removed from the history? In svn, you can easily recover a branch by reverting the delete operation
I've been using Git Flow to help manage branch and workflow. I love how it works, although have a general question when working with multi feature branches. For an example I would start a feature bra
I am trying to clone a large SVN repository in order to migrate to git, however the clone operation fails about a third of the way through when it gets to an SVN commit which creates a branch director
I've branched off of master and done work on feature-branch. Pushed feature-branch up the remote. Other people's work gets merged into master. I pull the changes to master, then rebase my local versio
I was wondering what is the interpretation of git push origin master. I mean we push the commits to the origin repo's master branch. But suppose, there's a branch A. I create a new branch B keeping A
I accidentally delete a file from my repo using git filter-branch: git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch images/thumb/a.JPG' HEAD How can I undo this? Is it possible?
I am working on a project using Git. Now, I am working on a feature in a branch and ran across something that I need to see some code from someone else's branch to remind myself how a function he wrot
I am using git. As of now we are two team members working on a project. Both work is slightly independent as of now, one focusing on UI while the other is focussing on apis. I like to checkin multiple
OK, I thought this was a simple git scenario, what am I missing? I have a master branch and a feature branch. I do some work on master, some on feature, and then some more on master. I end up with som
What options do you have if you want to undo a feature branch? Let's say you add a new feature supercool-feature which you finish (merge into development and delete the feature branch) and then it g
I have a project hosted on my own personal git server (it is not on GitHub). The master branch is a stale old cookie, and I don't need it anymore. A couple of months ago I created a 0.8/develop branch
Your current branch is master and if u create another branch like that git branch develop,then in branch develop you will have similar code about master。how can i get an empty branch.
Suppose we have an application that's stable. Tomorrow, someone reports a big ol' bug that we decide to hotfix right away. So we create a branch for that hotfix off of master, we name it 2011_Hotf
this should be a relatively trivial problem, I just (very) new to using Git, so please forgive the simple question. I need to get some updates along our Development branch into a Feature branch becaus
In git, supposing I have a branch master and a tag 0.0.1, if I do the following: git checkout 0.0.1 git branch -b random-fix # some changes... git checkout master git merge random-fix The branch from
If you have a branch which you forked off of master and then developed your feature in it...when it comes to merging back into master, I've heard 2 different approaches: First merge master into the f
I just made the following change git rm -r --cached myProject/build/* and pushed the change into my remote repository. I did this on a feature branch called story1. When I try to checkout my developm
Something I often find myself doing is, Rebase a feature branch, merge it & delete it. To do that I run: git rebase master feature git checkout master git merge feature git branch -d feature Th
I have two (private) feature branches that I'm working on. a -- b -- c <-- Master \ \ \ d -- e <-- Branch1 \ f -- g <-- Branch2 After working on these branches a little while I've discovered
If a branch has been deleted in git is it still possible to identify whether specific commits were made on that deleted branch? From what I have found so far - git branches are merely pointers so dele
I just deleted the wrong branch with some experimental changes I need with git branch -D branchName. How do I recover the branch?
How do I get the branch/feature name from a sha1 hash on the command line? Also how is this done using pretty=format syntax. I see that it's done somehow using this method git log --graph --full-his
I want to delete a branch both locally and on my remote project fork on GitHub. Successfully Deleted Local Branch $ git branch -D bugfix Deleted branch bugfix (was 2a14ef7). Attempts to Delete Remote
From the default master branch, I created another branch division_feature using git branch division_feature After that I switched to this new branch. git checkout division_feature My working branch
Is it possible to reset branch that is not currently checked out? I want to create a cron script that will perform git svn fetch and then update all local branches tracking svn remote branches with ne
I'm developing on a feature branch. I committed something that should have been in master. I checked out master and cherry-picked this commit and then pushed. Back on the feature branch, if I rebase a
I pulled a project from Heroku and now when I am trying to create in this project on my localhost a new branch, I always get this error message: git checkout new_branch error: pathspec 'new_branch' di
I have in my git repo, a file named xyz. Coincidently, I also have a branch named xyz. Presently I am on master, but I want to checkout to branch xyz. The command to be used is simple $ git checkout x
I've a master branch with a .gitignore file with directory X listed in it. (X is not being tracked). When I try to add a branch tracking a remote using the command git checkout -b mybranch origin/mybr
I'm new to tortoise. In order to avoid any unexpected consequence, I'd like ask for your tips on deleting a branch: Could I simply delete the working copy of the branch and the folder in the reposito
Need to find out when (version, commit, whatever) the --reset-author option was added to the git commit command. I already went to the GitHub repo, search for reset-author. That gave me only the fil
I would like to correct some invalid authorship information using git's filter-branch feature. The problem is that there are forks of the branch which would then be out of sync. Is there anyway to mer
Firstly, how can I see which branch I am currently on? I typed git branch but it returned * (no branch) master so then when I commit, where are these changes being committed to? Secondly, how can I
Are there any tools available that will let me rebase in git style an SVN branch onto a new parent? So, in the following situation, I create a feature branch, and there are commits to the trunk E---F