Commanding Chaos for Coworking, Open Source and Creative Communities

git

Converting a Subversion repository to Git, (7 steps to migrate a complete mirror of svn in git) | JohnAlbin

Wed, 01/06/2016 - 16:55 -- rprice

Our goal is to do a complete conversion of our Subversion repository and end up with a bare Git repository acceptable for sharing with others (privately or publicly). Bare repositories are ones without a local working checkout of the files available for modifications. They are the recommended format for shared repositories.

git
svn
backup

Converting a Subversion repository to Git, (7 steps to migrate a complete mirror of svn in git) | JohnAlbin

Wed, 01/06/2016 - 16:55 -- rprice

Our goal is to do a complete conversion of our Subversion repository and end up with a bare Git repository acceptable for sharing with others (privately or publicly). Bare repositories are ones without a local working checkout of the files available for modifications. They are the recommended format for shared repositories.

git
svn
backup

Converting a Subversion repository to Git, (7 steps to migrate a complete mirror of svn in git) | JohnAlbin

Wed, 01/06/2016 - 16:55 -- rprice

Our goal is to do a complete conversion of our Subversion repository and end up with a bare Git repository acceptable for sharing with others (privately or publicly). Bare repositories are ones without a local working checkout of the files available for modifications. They are the recommended format for shared repositories.

git
svn
backup

Goodbye Drush Make, Hello Composer! | Lullabot

Mon, 11/02/2015 - 08:15 -- rprice

Commit the composer.json changes to the repo. The files downloaded by Composer do not need to be added to the repo. You’ll see a .gitignore file that keeps them out (this was added as a part of the composer packaging). Only composer.json, .gitignore, code in /web/modules/custom and the content of the /web/sites subdirectory (other than the files directory) will be stored in the git repository.

drupaleasypodcast
drupal8
install_profile
git
deployment

Goodbye Drush Make, Hello Composer! | Lullabot

Mon, 11/02/2015 - 08:15 -- rprice

Commit the composer.json changes to the repo. The files downloaded by Composer do not need to be added to the repo. You’ll see a .gitignore file that keeps them out (this was added as a part of the composer packaging). Only composer.json, .gitignore, code in /web/modules/custom and the content of the /web/sites subdirectory (other than the files directory) will be stored in the git repository.

drupaleasypodcast
drupal8
install_profile
git
deployment

i broke git :(

Thu, 03/19/2015 - 07:11 -- rprice

i broke git while trying to Pull Changes from my Repo Push my files Pull Changes from my Repo Update my repo with changes from another repo Clone a repo to my computer Create a new Repository Fork a Repo Create a Pull Request Remove Changes from Staging Pull and Merge with minimal conflicts Did you do the following steps? git pull origin (branch name) Merge Conflict? Fix the files locally and then git status git add (fixed filename) git commit -m "Fixed Merge Conflicts" git push origin (branch name)

drupaleasypodcast
git
tools

Platform | The continuous delivery cloud by Commerce Guys

Tue, 06/17/2014 - 08:42 -- rprice

Platform.sh is a powerful cloud hosting solution with an optimized development-to-production workflow, enabling Continuous Integration and Continuous Delivery during development, at launch, and throughout a site's life. Unique snapshot technology enables cloning at the speed of thought, completely replicating full-stack environments into new branches on demand in a moment.

drupaleasypodcast
development
git
workflow
hosting
ecommerce

git: revert (reset) a single file

Wed, 08/15/2012 - 11:48 -- rprice

If you have an uncommitted change (its only in your working copy) that you wish to revert (in SVN terms) to the copy in your latest commit, do the following:

git checkout filename

This will checkout the file from HEAD, overwriting your change.

The rest of the Internet will tell you to use git reset --hard, but this resets all uncommitted changes you’ve made in your working copy. Type this with care.

files
tips
howto
revision
git

The Thing About Git

Tue, 06/19/2012 - 13:21 -- rprice

The magic is in the --patch argument to git-add(1). This instructs Git to display all changes to the files specified on a hunk-by-hunk basis and lets you choose one of the following options for each hunk
...

In this case, I staged (y) about half of the hunks (the ones that were bookmark related) and left the other hunks unstaged (n). Now my index has all of the changes to synchronize-bookmarks plus half of the changes made to models.rb.

development
svn
tutorial
workflow
git

Pages

Subscribe to RSS - git