Quantcast
Channel: Developments » git | Developments
Browsing latest articles
Browse All 7 View Live

Un-track files in git

Recently I realized I wanted to un-track a few files in one of my git repositories for a drupal 6 site. These were files that weren’t portable between the prod, staging and dev servers. One example...

View Article



Branching with Git – keeping remote and local sync'd

Max pointing me to his method of branching, inspired by: http://www.zorched.net/2008/04/14/start-a-new-branch-on-your-remote-git-repository/Which creates a branch on the remote origin and then pulls it...

View Article

Drupal DB backup bash script with Drush and Git

I like to make incremental backups of my drupal databases. To do that I’ve tried combine the best practices* into one bash script that I can run periodically and easily. The end result is a bash...

View Article

bash function – git-patch()

We’ve been trying to review more Drupal 8 patches on Drupal.org with this workflow: I found that be cumbersome so I created a bash function to simplify this. Usage example: $ git-patch stat URL.patch...

View Article

Branching with Git – Follow up on keeping remote and local sync’d

I saw a follow up comment on the article that I built my git-create-branch function on and so I updated the code. *Thanks goes to Olivier Clavel. Here’s the update:...

View Article


Auto populate from History via up and down arrow keys

I posted a highlight of some bash code that Jason H shared last year in my git_bash_files repo on bitbucket. Auto_populate_from_History_via_up_and_down_arrow_keys

View Article

An improved PS1 for Git in Bash

Last year I updated my bash prompt (PS1) to include the active git branch name. A few months ago I added to the the active repository name. So here’s an example of my PS1 when I’m in a git tracked...

View Article
Browsing latest articles
Browse All 7 View Live




Latest Images