One of those really handy things to remember… When git “tracks” a branch, it basically sets up an entry in .git/config which tells git what to do with push and pull. For example: I had a remote branch called Task/Round3.3. I wanted to work on it locally, but have push and pull work right. So [...]
Archive for the ‘Software’ Category
How to checkout and track a remote git branch
Posted in Engineering, Linux, Open Source, Software, Technique, tagged git, git branch, version control on July 9, 2010 | Leave a Comment »
Ubuntu Post-Install tips…
Posted in Linux, Open Source, Software, System Administration, Technique, tagged Ubuntu, Ubuntu Partner Repositories, Ubuntu Setup on June 14, 2010 | Leave a Comment »
I received this from a friend, and thought I would post it here in case anyone would find it useful. After Installing Ubuntu, basically I do this: Go to: System -> Administration -> Software Sources -> Other Sofware, and enable partner repository. After that, we can this on a Terminal: sudo apt-get update sudo apt-get dist-upgrade sudo [...]
git add -u
Posted in Engineering, Software, Technique, tagged git, version control, scm, git add on May 16, 2010 | Leave a Comment »
Here is a nice little tidbit I ran across some time ago… Ever delete a bunch of files from a git working copy, and then had to go in and tell git that you meant to delete them? For example: [jason@dc40 AppStruct]$ git status # On branch master # Changed but not updated: # (use [...]
PostgreSQL Dump and Restore Notes
Posted in Open Source, Software, System Administration, Technique, tagged PostgreSQL, pg_dump, pg_restore, database backup on May 16, 2010 | Leave a Comment »
The pg_dump and pg_restore commands provide excellent flexibility in storing a compressed dump file, and selectively restoring any part of it. I’ve found that dropping and re-creating the target database is the cleanest way to restore a dumpfile — no stray relations left to cause trouble. Unless you own all of the objects being restored, [...]
Starting to use SolidWorks
Posted in Engineering, Fun, Reviews, Software on May 29, 2009 | Leave a Comment »
We recently purchased a copy of SolidWorks to use with our various engineering projects. In about 3 hours, I was able to learn how to create parts, assemblies, and drawings. The software (to this point) is nothing short of incredible. And I’m just using the most basic features. Here is a graphic of [...]