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

 

  • JavaScript-Heavy Service Pages Still Lose Leads in 2026: A Practical Rendering Audit
  • When URL Parameters Become an Operations Problem: Fix Crawl Waste, Cache Fragmentation, and Duplicate URLs
  • WooCommerce Checkout Blocks Are Still a Paid Compatibility Cleanup for Stores With Gateway and Add-On Debt
  • Services
  • Cloudflare's Resource Tagging Beta Turns Resource Sprawl Into a Paid Governance Cleanup
RSS feed

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