User Tools

Site Tools


linux:git

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:git [2026/01/09 19:34] – [CHECK OUT REMOTE BRANCH] v1ctorlinux:git [2026/02/13 18:52] (current) – [SQUASH] v1ctor
Line 45: Line 45:
 git log --oneline master git log --oneline master
 </code> </code>
 +---------------
  
 ==== SQUASH ==== ==== SQUASH ====
Line 78: Line 79:
 git config pull.rebase true git config pull.rebase true
 git pull git pull
 +</code>
 +
 +==== CHANGE COMMIT MESSAGE ====
 +
 +If the commit has been already pushed to the upstream, and it's the latest commit:
 +
 +<code bash>
 +git commit --amend # edit the commit msg
 +git push --force
 </code> </code>
linux/git.1767987243.txt.gz · Last modified: by v1ctor