-
-
Save aburaihan-dev/284b1f3188cb093a9ce4dcfd6aa10fa1 to your computer and use it in GitHub Desktop.
Git commit & All Together
This file contains 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
:: Declear add & commit together in the git Config → | |
→ git config --global alias.add-commit "!git add -A && git commit" (For Windows) | |
→ git config --global alias.add-commit '!git add -A && git commit' (Linux) | |
:: Now Add & Commit together → | |
→ git add-commit -m "Commit Message" | |
::: git Alias LIST → | |
→ git config --global alias.co "checkout" | |
→ git config --global alias.st "git status" | |
→ git config --global alias.cob "checkout -b" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment