Files
Main/99 Work/0 OneSec/OneSecNotes/30 Engineering Skills/Coding/git.md

12 lines
374 B
Markdown

# Main Commands
# Flashcards
#learning/computer_science
update local branch list with remote branch list (also deleted ones) ;; `git fetch -p` p: prune
<!--SR:!2024-03-04,48,290-->
reorder the last n commits ;; `git rebase -i HEAD~n` then change the pick order.
<!--SR:!2024-03-24,68,310-->
word to merge multiple commits into one ;; `squash`
<!--SR:!2024-03-23,67,310-->