Report inadequate content

Organizing git branches in logical folders

{
}

 TAGS:

It is easier to find things when they are well organized. If you are a git user a good practice to name the branches would be to use descriptive names including slashes "/" (as in paths) where everything before the slash is the folder you want to use and then the logical name after it.

If you use the fantastic git graphical interface SourceTree (free for Windows and Mac) then you will be able to navigate these branches using folders.

Of course if you use advanced tools like the git-flow extensions (strongly recommended in large environments) this kind of behaviour is automatically managed.

An example:

Let's say we usually work in branches when we want to release new features. This is a screenshot on how it would look like creating the following branches in SourceTree:

git checkout -b feature/editor
git checkout -b feature/reset-email
git checkout -b devel

 TAGS:

{
}

Image gallery for Organizing git branches in logical folders

2 about 2

Show pictures of Organizing git branches in logical folders

{
}

Leave your comment Organizing git branches in logical folders

Log in to Obolog, or create your free blog if you are not registered yet.

User avatar Your name