git-workflow Questions

5

Solved

I'm wondering if there is a way to quickly reverse specific hunk of a commit. I can generate a diff between two commits or HEAD to see the difference. How do I reverse just one of those hunks (or...
Cricoid asked 22/11, 2010 at 17:24

2

I know the title is a little woolly - hence the quotes! Say I have a branch, b_feature that was branched from and merged into the main development branch b_master. There exists another branch, b_r...
Cherlynchernow asked 27/1, 2016 at 11:47

12

Solved

I have two branches: master and dev I want to create a "feature branch" from the dev branch. Currently on the branch dev, I do: git checkout -b myfeature dev ... (some work) git commit -...
Furred asked 17/12, 2010 at 12:39

12

Solved

I have two branches: master and dev I want to create a "feature branch" from the dev branch. Currently on the branch dev, I do: git checkout -b myfeature dev ... (some work) git commit -...
Sphygmic asked 17/12, 2010 at 12:39

1

In our project, we want to have merged feature branches visible in git log --graph, but still have a linear history, so that there are no commits on the main branch for the duration of the feature ...
Logging asked 21/10, 2022 at 16:21

1

I am trying to set up CI for my nodejs server. I would like to use github actions to ssh into my ec2 instance, where I can then git clone/pull my updated repo. I can ssh into my ec2 instance on my ...
Towardly asked 2/1, 2020 at 17:25

3

I am trying to apply git-flow for a project with multiple websites that share a same code base. I currently use many feature branches, one develop branch, one support branch, and MANY production b...
Giro asked 19/2, 2011 at 23:22

3

Everywhere I look for the right way to use GIT in a team, we always get referred to git-flow. We started to use this scheme as our bible at the beginning: Time passed, and we finally found that ke...
Fomalhaut asked 8/2, 2019 at 17:0

4

Solved

we got a pretty standard git workflow, but i am annoyed by one thing: The master is ahead of development because every deployment we create a merge-commit from dev to master. At first our workflow...
Breen asked 25/6, 2019 at 11:23

5

When I look at most of the websites people demonstrate their git workflow in pictorial fashion. I would like to know which tool is used for the same ? For example https://wiki.phpbb.com/images/c/c8...
Teapot asked 22/2, 2013 at 10:15

1

Solved

Context : We are a team of programmer who work on a project with severals branches : Master, Release, Develop Sometimes we need to fix a bug on release, and we need to report this fix on deve...
Expletive asked 6/10, 2018 at 16:39

2

Solved

I pretty much like the idea of the feature-based workflow in Git: using feature branches to support parallel development. In a feature-based workflow, I would develop my tasks in a feature b...
Felic asked 9/2, 2017 at 11:30

4

Solved

I used my local branch feature to create a PR for a github repo (I don't have write access to it). Later I decided I want to separate its last commit into a standalone PR, so I moved feature one co...
Demodulation asked 21/4, 2017 at 15:0

4

Solved

I'm writing a very long document in LaTeX. I have my work computer and my laptop, and I work on them both. I need to keep all the files synchronized between the two computers, and also would like t...
Mcdougald asked 31/5, 2011 at 14:3

1

Solved

I have two rooms in which I maintain some source code using git, a "dev" room where most development happens and a "deploy" room in which we actually use the software. Inevitably some changes happe...
Helbon asked 13/8, 2013 at 18:1

1

Solved

We are using git to track development and versioned releases and ran into some issues merging branches. Here is our workflow: production/1.0.0 A--B stage/2.0.0 A--B--C--D development E--F--G--J-...
Powdery asked 12/6, 2016 at 15:13

1

We are using git installed on a web server to develop with and we have placed a bare .git project outside of the public_html directory, and then we're cloning the master branch to a directory insid...
Garrot asked 2/2, 2016 at 14:32

1

I am lost in different articles and stackoverflow questions and I am unable to put my head around to figure out the command for GIT. Here is what i want to do I created the branch from master us...
Range asked 3/2, 2016 at 18:19

1

Solved

While using Gitflow, what is the reason for separating branch naming to feature vs bugfix vs hotfix? I.e. why not just, for example, instead of: feature/ bugfix/ hotfix/ Just do: change/...
Sur asked 29/6, 2015 at 21:46

7

I am working with a developer that is new to git, and I would like to setup a git workflow that would let me auditing the commits made by this developer (and possibly reject them) without forcing h...
Beanie asked 8/4, 2014 at 15:53

2

Solved

I am working on a branch (with others) off of master. A - B - C - F - G (master) \ D - E (branch-a) Periodically, we merge master into the branch, to minimize conflicts later. A - B - C - F -...
Shippee asked 10/3, 2014 at 15:42

1

Solved

I recently made a mistake with my git merge strategy, and didn't notice the result error(s) until I had already continued to work on the project and made more commits. For the sake of brevity, let'...

1

Solved

So I'm interested in opinions about my current GIT workflow (which I'm new to), and how to determine which of my changes have not yet been merged/pushed to the appropriate repositories. So first of...
Nobe asked 24/6, 2013 at 17:41

7

Solved

Git is supposed to be a decentralized system, but all the tutorials and best practice workflows I have found on Google suggest using a server (usually GitHub, or else set up your own) I am using gi...
Tollbooth asked 10/5, 2011 at 8:10

7

Solved

Is there a git hook or some other way to prohibit branching from and merging of specific branches. We want to make sure that we don't merge a "dirty" integration branch into our clean deployment br...
Geisha asked 2/11, 2012 at 13:58

© 2022 - 2024 — McMap. All rights reserved.