- Installing Git
- Install from the CLI
- $ sudo apt-get install git-all
- First-Time Git Setup
- Configure your user info
- $ git config --global user.name "John Doe"
- $ git config --global user.email firstname.lastname@example.org
- Configuring your editor
- $ git config --global core.editor gedit
- Checking Your Settings
- $ git config --list
- Getting a Git Repository
- Initializing a Repository in an Existing Directory
If you’re starting to track an existing project in Git, you need to go to the project’s directory and type:
- $ git init
- $ git add *
- $ git add .
- $ git commit -m 'initial project version'
- Cloning an Existing Repository
- $ git clone https://github.com/source/git/dir target/git/dir
- Git has a number of different transfer protocols you can use.
- Initializing Git repositories in the Cloud
This was something that I needed to do (for my own personal and private projects). While there are many ways out there to host your private repositories such as the awesome Bitbucket, Github, etc, I was looking at much simpler solution just for myself. All I needed is a versioning system to keep my source codes.
I'm going to demonstrate how easy it is to host your own Git repositories in any of your preferred cloud providers. I chose Google Drive personally.
Lets say you have a project named "johndoe":
- Initialize an empty Git repository:
- $ cd /path/to/project/johndoe
- $ git init
- Make and change directory to where your Google Drive is located and initialize a bare repository.
- $ mkdir /path/to/GoogleDrive/project/johndoe
- $ cd /path/to/GoogleDrive/project/johndoe
- $ git remote add origin /path/to/GoogleDrive/project/johndoe
- $ git push origin master
- Cloning Git Repositories in the Cloud
- To clone your Git repository from Google Drive
- $ git clone /path/to/GoogleDrive/project/johndoe
- Git Version Control
- There are some subtleties to this because of the nature of Git. The way I've done this is by copying what the Git developers themselves do. First, you'll want to use annotated tags which is probably a good idea anyway. To review, you can create a new tag like this:
- $ git tag -a -m "Version 0.2" v0.2 HEAD
- Then you can use
git describefor a useful "version" string that will include the number of commits since the tag and the leading digits of the sha1 of the the current commit. Here's an example from one of my projects:
- $ git describe
- That is, this copy is 3 commits ahead of the "v1.0" tag and the commit sha1 begins with ee47184 (I'm not sure why they include that leading 'g').
- The Git developers take it one step further and also include an extra bit if the working copy is modified (uncommitted). This requires a few more steps so it's all wrapped up in a script they name VERSION-GEN. When run, it prints the version string to standard output and also creates a VERSION-FILE file (the script is careful to not re-touch that file if the version hasn't changed -- so it's build-tool friendly). Then, you can include that VERSION-FILE file in your source code, help files, etc.
- Using my example VERSION-GEN script, my version string for the above example is:
- $ VERSION-GEN
- version: 1.0-3-gee47
- If I modify any of the tracked files it looks like this:
- $ VERSION-GEN
- version: 1.0-3-gee47-mod
- Note that VERSION-GEN expects that the tags marking versions are of the form v[0-9]* (e.g., v1.0 or v0.2 or v12.3.4 or v12.2-4feb2009 etc.)
- Recording Changes to the Repository with RabbitVCS
- Installing RabbitVCS for use with Nemo
A Git IT work in progress....
With the garden off to a successful start, it's time to make some seed harvesting preparations. This year I've got a variety of produce and, to help find the specific species steps when I need them next year, I'm going to breakup this post into "by species" steps. Saving seeds from heirloom or open-pollinated varieties is a wonderful way to ensure that you can keep growing your favorite produce varieties year after year. Even better, you can select seeds from those fruits and vegetables with the best qualities, tailoring over the years, the varieties to conditions in your own garden.
The steps for any seed gathering from harvested fruits and vegetables is basically the same for all, with a twist and turn on a few.
CucumbersSaving cucumber seeds is not as straightforward as saving bean seeds, or even tomato seeds. Unlike beans and tomatoes, cucumber blossoms are not perfect -- they need to be pollinated by insects (or by the gardener) to set fruit. And, to complicate things further, cucumbers cross easily with other cucumber varieties. Professional seed savers recommend isolating cucumber varieties by 1/2 mile to prevent crossing. Since most of us do not have that type of space to work with, we have to handle isolation and pollination another way.
- Isolating Plants
- The first step to take if you plan on saving seeds from your cucumbers is to isolate the plants you want to save seed from.
- You can bag individual female blossoms (these are the ones that look like they have a tiny cucumber at the base) before they open, in spun polyester or cotton bags to prevent insects from pollinating them.
- Do the same with a male flower.
- Then, tag the branch with that female blossom so you know later that this cucumber should be saved for the seeds.
- The other way to isolate your cucumbers is to build a cage that will enclose the entire plant or plants -- wood or PVC with spun polyester or screen over it will work.
- Hand-Pollinating Cucumber Flowers; Since we can't allow those haphazard bees to pollinate the cucumbers, we have to take that task on ourselves.
- Use a small brush to dab some of the pollen from a male cucumber flower onto the stigma (center) of the female flower.
- Then bag the female blossom again, and let the waiting begin.
- Once a fruit forms, you'll know that your hand-pollination worked.
- You can then remove the bag, but make sure you keep this fruit tagged or otherwise labeled so it doesn't end up in a salad by mistake.
- When to Harvest Cucumber Seeds
- Cucumbers that you are growing to save seed from must be grown to full maturity, much past the point where they are no longer edible.
- The cucumber will be larger than usual harvest size, and will start to soften.
- It will also change color from green to whitish.
- Harvest the fruits.
- Process the Cucumber Seeds
- Cut them in half lengthwise.
- Over a bowl, scoop out the seeds from the center of each half.
- Add about as much water to the bowl as the amount of seeds, and set aside in a warm, sheltered spot to ferment (much as you would if you were saving tomato seeds).
- Fermentation of cucumber seeds can occur in as little as one to three days; once most of the seeds have sunk to the bottom of the container, they are finished fermenting.
- Add more water to the bowl at this point to clean your seeds. Debris and bad seeds will float to the top, where you can discard them easily. The good seeds will be at the bottom.
- Rinse them a few more times, then strain them out and place them on paper towels or uncoated paper plates to dry.
- Once they are completely dry, label your seeds and store them in a cool, dry place. Stored properly, cucumber seeds will remain viable for ten years. A refrigerator is the ideal place to store your seeds.
Selecting a good tomato to save seeds from is the most important step in the process. There's no point in saving tomato seeds if you're not saving them from high quality fruits; the resulting plants (and their fruits) will be of inferior quality.
- Here's what you're looking for.
- Save seeds from an open-pollinated, rather than hybrid, tomato. Seeds saved from hybrid tomatoes won't come true, and there's no way to tell what you'll end up with. This may take a little research. If you're unsure whether the tomato you're growing is an heirloom or a hybrid, a quick internet search or a glance through a few seed catalogs will tell you what you need to know.
- Save seeds from tomatoes that are fully ripe, but not over-ripe. Seeds from over-ripe fruits could already be on their way to germinating or flat-out rotting.
- Save seeds from the best-looking, best-tasting fruits on the plant. When you save from the very best, the resulting plants will be predisposed to having those same desirable qualities.
- It's fine to save seed from plants that have suffered from blight or one of the many wilts that affect tomato plants.
- Slice the Tomato
- Once you have your tomato selected, slice it across the equator of the fruit. This will allow you to squeeze out the seeds more easily in the next step.
- Squeeze Out the Seeds
- Squeeze the seeds and their surrounding gel into a plastic or glass container.
- Add Water
- Pour two to three inches of water over the seeds you've squeezed into your container.
- Label and Set Aside
- Label your container so you don't forget which variety of tomato seed you've saved (you think you'll remember -- you won't. Trust me!)
- Set the container in a spot where it won't be in your way or be disturbed too much.
- Let it sit for two to three days, until you see white mold growing on top of the water. This is a sign that the gel coating that surrounds the seeds has broken down.
- Rinse and Dry
- Pour off the mold, as much of the water as possible, and any seeds that are floating (these seeds are bad, and would not have germinated, anyway).
- Rinse a few times, pouring off the rinse water and any seeds or debris that float.
- Dump the seeds into a fine mesh strainer and rinse well, using your fingers to dislodge any gel that is still sticking to the seeds.
- Write the name of your tomato variety on a paper plate, and dump your seeds onto it.
- Make sure that the seeds are in a single layer so they dry well and don't get moldy.
- Set the labeled plate aside for a few days so that the seeds dry completely.
- Store Your Seeds
- Once your seeds are completely dry, you can put them into an envelope, small baggie, or other container to store.
- Be sure to label them properly.
- It's best to store them in a cool, dry place (such as a refrigerator).
When stored properly, tomato seeds will germinate reliably for up to ten years, or more.
These are my favorite! Yes all of them, hot mild or somewhere near medium based on some scoville scale of scalding :) At this point I've got about a dozen different types of peppers. I've cross-pollinated some by accident, that turned out to be the perfect pepper for those how can't stand the heat but like the taste. Of course I've got the standard chili, habanero, jalapeno, bells of all colors, sriracha, pequeno, and the latest addition "observative tiger paws" (those are double hot habaneros).
- Separation of species
- Like the cucumbers you will need to take some effort to keep your peppers from cross pollinating. Yes the same steps as cucumbers.
- As with other fruit, let the pepper stay on the plant as long as possible. Let is over develop and ripen beyond edible but not rotting.
- My personal preference is to cut around the top of the pepper while trying not to dislodge any of the seeds from around and below the stem. As long as the pepper flesh is firm you can use it to cook with, just bring it to a 165 degrees like meat.
....its late and I think I've got the idea for now...and I'll add the rest when its time...update and completion when the next seeds are ready.