Skip to content

Instantly share code, notes, and snippets.

@ryanmoralesaz
Last active October 24, 2025 05:05
Show Gist options
  • Select an option

  • Save ryanmoralesaz/71c45d19bc26db9a489188c467d24d3d to your computer and use it in GitHub Desktop.

Select an option

Save ryanmoralesaz/71c45d19bc26db9a489188c467d24d3d to your computer and use it in GitHub Desktop.
git config
[user]
name = git
email = your_preferred@email.email
[alias]
ac = "!git add . && git commit -m"
pom = push origin main
lom = pull origin main
rao = remote add origin
lomauh = pull origin main --allow-unrelated-histories
plog = "!git log --oneline --graph --all"
[difftool "vimdiff"]
#trustExitCode = true
[diff]
#tool = vimdiff
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment