git add [filename]
This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit.
Continue“To stage file(if not yet tracked)”
git add [filename]
This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit.
Continue“To stage file(if not yet tracked)”
git diff
Show changes between the working tree and the index or a tree, changes between the index and a tree, changes between two trees, changes between two blob objects, or changes between two files on disk.
git status
Displays paths that have differences between the index file and the current HEAD commit, paths that have differences between the working tree and the index file, and paths in the working tree that are not tracked by Git
git init
This command creates an empty Git repository – basically a .git directory with subdirectories.
[php]
/**
* Change the placeholder image
*/
add_filter(‘woocommerce_placeholder_img_src’, ‘custom_woocommerce_placeholder_img_src’);
function custom_woocommerce_placeholder_img_src( $src ) {
$upload_dir = wp_upload_dir();
$uploads = untrailingslashit( $upload_dir[‘baseurl’] );
// replace with path to your image
$src = $uploads . ‘/2012/07/thumb1.jpg’;
return $src;
}
[/php]
When you create a variable, it becomes available for you to use inside the element in…
In software design,think of encapsulation as the principle by wich code and data are bundled together…