Last active
February 15, 2023 13:42
-
-
Save fhugoduarte/155c29c1bfe578dfe2e06dc0197b600b to your computer and use it in GitHub Desktop.
git alias
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To open the .gitconfig file on xcode, run: git config --global core.editor code | |
# To edit the .gitconfig file, run: git config --global --edit | |
[core] | |
editor = code | |
[alias] | |
c = !git add --all && git commit -m | |
s = !git status -s | |
l = !git log --pretty=format:'%C(blue)%h %C(red)%d %C(white)%s - %C(cyan)%cn, %C(green)%cr' | |
amend = !git add --all && git commit --amend --no-edit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment