User Tools

Site Tools


linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux [2023/10/28 12:21] jotasandokulinux [2025/10/25 14:23] (current) jotasandoku
Line 33: Line 33:
  
 note that tar by itself just packetize not compress. We need flags as z compress. ALSO, tar is oriented ro 'pack' folders. If we want to zip a file we just use gzip <file> note that tar by itself just packetize not compress. We need flags as z compress. ALSO, tar is oriented ro 'pack' folders. If we want to zip a file we just use gzip <file>
-  tar -cvf vmx.tar /root/vmx-test/ # whole folder+  tar -czfv vmx.tar.gz /root/vmx-test/     pack whole folder 
 +  tar -xzvf ansiblepi.tar.gz               # unpack same folder
   tar -xvf docs.tar # to extract it, folder tree same but from the point we are   tar -xvf docs.tar # to extract it, folder tree same but from the point we are
   tar -xvf cvd.tar.gz *   tar -xvf cvd.tar.gz *
Line 536: Line 537:
   git diff origin/master   git diff origin/master
   # Choose to merge or rebase (I prefer rebase)   # Choose to merge or rebase (I prefer rebase)
-  git rebase origin/master+  git checkout feature 
 +  git rebase main 
 +  ! The above, rebases ‘feature’ into main. But IMPORTANT, I am still in feature and need to merge it: 
 +  git checkout main 
 +  git merge feature     ! Or PR in github Or PR in github
      
   # And if either I or somebody else makes a commit that breaks something:   # And if either I or somebody else makes a commit that breaks something:
linux.1698495679.txt.gz · Last modified: (external edit) · Currently locked by: 216.73.216.48