Skip to main content
GrN.dk

Main navigation

  • Articles
  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Git Tips And Tricks

When you want to clone into a non empty folder or directory (https://stackoverflow.com/questions/9864728/how-to-get-git-to-clone-int…): 
git init .
git remote add -t \* -f origin [repository-URL]
git checkout master

 

Show total log of commits: git log --graph -p
Show complete diff between first commit and head: git diff `git rev-list HEAD | tail -n 1` HEAD
( https://stackoverflow.com/questions/9633740/how-to-see-git-diff-from-ve… )

Last modified
2021-03-30
  • Log in to post comments

Review Greg on Google

Greg Nowak Google Reviews

 

  • WordPress Playground Speeds Up Bug Reproduction, Not Host-Level Debugging
  • NGINX 1.30 changed upstream connection reuse by default: what to check before you upgrade
  • PHP 8.2 Has Six Months Left, and CMS Hosts Need a Plan
  • Cloudflare BYOIP customers need a rollback plan, not just trust
  • WooCommerce Checkout Blocks: Default by Design, Rollback for Compatibility
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.