Skip to content

git

working on code

see changed files

git st

commit changed files

git ci -a -m"docs: export requirements file"

amend last commit with staged changes

git amend -a
git amend -a -m"docs: useful git commands"

add untracked file to git

git add docs/git.md

rebase to the beginning

git rebase --interactive --root main