The following branching concept is commonly used these days for software development. Source: https://nvie.com/posts/a-successful-git-branching-model/ (by Vincent Driessen)
Continue readingCategory: Version control
Variant managment – Macros vs. Branching
Via Macros A way to realise different variants is to work with variant flags within the code itself. The big
Continue readingMerging – linear vs. non-linear history (Git)
After developing a feature or fix you want to merge that branch onto the parent branch. There are two main
Continue readingWorking with different remotes (Git)
Basics Most people I talked to are using origin and remote as an equivalent, but the aren’t. Origin is the
Continue readingHandling features/fixes (Git)
1. Create a feature/fix branch Don’t work straight on the parent branch if you have to implement a feature/fix, atleast
Continue readingPush rejection (Git)
Reason: If you have updated a local branch and then trying to push it on remote you may got the
Continue readingRebase branch on rebased parent (Git)
This is necessary when you develop on an child-feature-branch and the parent-feature-branch has been rebased. 0. Initial situation 1. Rebase
Continue readingCloning vs. Branching vs. Forking
Cloning – Creating a local copy of a remote repository. – Gets used to build a project or get involved.
Continue readingDelete already pushed commits (Git)
The first thing is to checkout the newest commit from the wanted branch. Then you need to get the commit-id
Continue reading