Skip to main content
GrN.dk

Main navigation

  • 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

 

  • Portfolio
  • About Greg Nowak
  • Gregs IT and Logistics Optimization
  • Shrink PDF In Linux
  • Running Linux on T450s T495s T14, Thinkpads and Others
RSS feed

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